Skip to content

Crypto-APIs/Crypto_APIs_2.0_SDK_Golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
Sorry, we had to truncate this directory to 1,000 files. 853 entries were omitted from the list.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for cryptoapis

Crypto APIs is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 2021-03-20
  • Package version: 1.7.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://cryptoapis.io

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import cryptoapis "github.com/Crypto-APIs/Crypto_APIs_2.0_SDK_Golang"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), cryptoapis.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), cryptoapis.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. 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(), cryptoapis.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), cryptoapis.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://rest.cryptoapis.io

Class Method HTTP request Description
AssetsApi GetAssetDetailsByAssetID Get /market-data/assets/assetId/{assetId} Get Asset Details By Asset ID
AssetsApi GetAssetDetailsByAssetSymbol Get /market-data/assets/{assetSymbol} Get Asset Details By Asset Symbol
AutomaticCoinsForwardingApi CreateAutomaticCoinsForwarding Post /blockchain-automations/{blockchain}/{network}/coins-forwarding/automations Create Automatic Coins Forwarding
AutomaticCoinsForwardingApi DeleteAutomaticCoinsForwarding Delete /blockchain-automations/{blockchain}/{network}/coins-forwarding/automations/{referenceId} Delete Automatic Coins Forwarding
AutomaticCoinsForwardingApi ListCoinsForwardingAutomations Get /blockchain-automations/{blockchain}/{network}/coins-forwarding/automations List Coins Forwarding Automations
AutomaticTokensForwardingApi AddTokensToExistingFromAddress Post /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations/add-token Add Tokens To Existing fromAddress
AutomaticTokensForwardingApi CreateAutomaticTokensForwarding Post /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations Create Automatic Tokens Forwarding
AutomaticTokensForwardingApi DeleteAutomaticTokensForwarding Delete /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations/{referenceId} Delete Automatic Tokens Forwarding
AutomaticTokensForwardingApi GetFeeAddressDetails Get /blockchain-automations/{blockchain}/{network}/tokens-forwarding/fee-addresses Get Fee Address Details
AutomaticTokensForwardingApi ListTokensForwardingAutomations Get /blockchain-automations/{blockchain}/{network}/tokens-forwarding/automations List Tokens Forwarding Automations
CallbackDataApi GetAddressDetailsFromCallback Get /blockchain-events/{blockchain}/{network}/addresses/{address} Get Address Details From Callback
CallbackDataApi GetBlockDetailsByBlockHashFromCallback Get /blockchain-events/{blockchain}/{network}/blocks/hash/{blockHash} Get Block Details By Block Hash From Callback
CallbackDataApi GetBlockDetailsByBlockHeightFromCallback Get /blockchain-events/{blockchain}/{network}/blocks/height/{blockHeight} Get Block Details By Block Height From Callback
CallbackDataApi GetTransactionDetailsByTransactionIDFromCallback Get /blockchain-events/{blockchain}/{network}/transactions/{transactionId} Get Transaction Details By Transaction ID From Callback
CreateSubscriptionsForApi BlockHeightReached Post /blockchain-events/{blockchain}/{network}/subscriptions/block-height-reached Block Height Reached
CreateSubscriptionsForApi MinedTransaction Post /blockchain-events/{blockchain}/{network}/subscriptions/transaction-mined Mined transaction
CreateSubscriptionsForApi NewBlock Post /blockchain-events/{blockchain}/{network}/subscriptions/block-mined New Block
CreateSubscriptionsForApi NewConfirmedCoinsTransactions Post /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-confirmed New confirmed coins transactions
CreateSubscriptionsForApi NewConfirmedCoinsTransactionsAndEachConfirmation Post /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-confirmed-each-confirmation New confirmed coins transactions and each confirmation
CreateSubscriptionsForApi NewConfirmedCoinsTransactionsForSpecificAmount Post /blockchain-events/{blockchain}/{network}/subscriptions/coins-transactions-for-specific-amount New Confirmed Coins Transactions For Specific Amount
CreateSubscriptionsForApi NewConfirmedInternalTransactions Post /blockchain-events/{blockchain}/{network}/subscriptions/address-internal-transactions-confirmed New confirmed internal transactions
CreateSubscriptionsForApi NewConfirmedInternalTransactionsAndEachConfirmation Post /blockchain-events/{blockchain}/{network}/subscriptions/address-internal-transactions-confirmed-each-confirmation New confirmed internal transactions and each confirmation
CreateSubscriptionsForApi NewConfirmedInternalTransactionsForSpecificAmount Post /blockchain-events/{blockchain}/{network}/subscriptions/internal-transactions-for-specific-amount New Confirmed Internal Transactions For Specific Amount
CreateSubscriptionsForApi NewConfirmedTokenTransactionsForSpecificAmount Post /blockchain-events/{blockchain}/{network}/subscriptions/tokens-transfers-for-specific-amount New Confirmed Token Transactions For Specific Amount
CreateSubscriptionsForApi NewConfirmedTokensTransactions Post /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-confirmed New confirmed tokens transactions
CreateSubscriptionsForApi NewConfirmedTokensTransactionsAndEachConfirmation Post /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-confirmed-each-confirmation New confirmed tokens transactions and each confirmation
CreateSubscriptionsForApi NewUnconfirmedCoinsTransactions Post /blockchain-events/{blockchain}/{network}/subscriptions/address-coins-transactions-unconfirmed New unconfirmed coins transactions
CreateSubscriptionsForApi NewUnconfirmedTokensTransactions Post /blockchain-events/{blockchain}/{network}/subscriptions/address-tokens-transactions-unconfirmed New unconfirmed tokens transactions
ExchangeRatesApi GetExchangeRateByAssetSymbols Get /market-data/exchange-rates/by-symbols/{fromAssetSymbol}/{toAssetSymbol} Get Exchange Rate By Asset Symbols
ExchangeRatesApi GetExchangeRateByAssetsIDs Get /market-data/exchange-rates/by-asset-ids/{fromAssetId}/{toAssetId} Get Exchange Rate By Assets IDs
FeaturesApi BroadcastLocallySignedTransaction Post /blockchain-tools/{blockchain}/{network}/transactions/broadcast Broadcast Locally Signed Transaction
FeaturesApi ConvertBitcoinCashAddress Post /blockchain-tools/{blockchain}/{network}/address/convert Convert Bitcoin Cash Address
FeaturesApi DecodeRawTransactionHex Post /blockchain-tools/{blockchain}/{network}/decode-raw-transaction Decode Raw Transaction Hex
FeaturesApi DecodeXAddress Get /blockchain-tools/{blockchain}/{network}/decode-x-address/{xAddress} Decode X-Address
FeaturesApi DeriveHDWalletXPubYPubZPubChangeOrReceivingAddresses Get /blockchain-tools/{blockchain}/{network}/hd/{extendedPublicKey}/addresses/derive-address Derive HD Wallet (xPub, yPub, zPub) Change Or Receiving Addresses
FeaturesApi EncodeXAddress Get /blockchain-tools/{blockchain}/{network}/encode-x-address/{classicAddress}/{addressTag} Encode X-Address
FeaturesApi EstimateGasLimit Post /blockchain-tools/{blockchain}/{network}/gas-limit Estimate Gas Limit
FeaturesApi EstimateTokenGasLimit Post /blockchain-tools/{blockchain}/{network}/gas-limit/contract Estimate Token Gas Limit
FeaturesApi GetEIP1559FeeRecommendations Get /blockchain-tools/{blockchain}/{network}/fees/eip1559 Get EIP 1559 Fee Recommendations
FeaturesApi ValidateAddress Post /blockchain-tools/{blockchain}/{network}/addresses/validate Validate Address
GeneratingApi GenerateDepositAddress Post /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses Generate Deposit Address
HDWalletsApi DeriveAndSyncNewChangeAddresses Post /blockchain-data/{blockchain}/{network}/hd/derive-sync-change Derive And Sync New Change Addresses
HDWalletsApi DeriveAndSyncNewReceivingAddresses Post /blockchain-data/{blockchain}/{network}/hd/derive-and-sync Derive And Sync New Receiving Addresses
HDWalletsApi GetHDWalletXPubYPubZPubAssets Get /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/assets Get HD Wallet (xPub, yPub, zPub) Assets
HDWalletsApi GetHDWalletXPubYPubZPubDetails Get /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/details Get HD Wallet (xPub, yPub, zPub) Details
HDWalletsApi ListHDWalletXPubYPubZPubTransactions Get /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/transactions List HD Wallet (xPub, yPub, zPub) Transactions
HDWalletsApi ListHDWalletXPubYPubZPubUTXOs Get /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/utxos List HD Wallet (xPub, yPub, zPub) UTXOs
HDWalletsApi ListSyncedAddresses Get /blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/synced-addresses List Synced Addresses
HDWalletsApi PrepareAUTXOBasedTransactionFromHDWalletXPubYPubZPub Post /blockchain-data/{blockchain}/{network}/transactions/prepare-utxo-transaction Prepare A UTXO-Based Transaction From HD Wallet (xPub, yPub, zPub)
HDWalletsApi PrepareAnAccountBasedTransactionFromHDWalletXPubYPubZPub Post /blockchain-data/{blockchain}/{network}/transactions/prepare-account-based-transaction Prepare An Account-Based Transaction From HD Wallet (xPub, yPub, zPub)
HDWalletsApi SyncHDWalletXPubYPubZPub Post /blockchain-data/{blockchain}/{network}/hd/sync Sync HD Wallet (xPub, yPub, zPub)
HDWalletsApi SyncNewHDWalletXPubYPubZPub Post /blockchain-data/{blockchain}/{network}/hd/sync-new Sync New HD Wallet (xPub, yPub, zPub)
InformativeApi GetTransactionRequestDetails Get /wallet-as-a-service/transactionRequests/{transactionRequestId} Get Transaction Request Details
InformativeApi GetWalletAssetDetails Get /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network} Get Wallet Asset Details
InformativeApi GetWalletTransactionDetailsByTransactionID Get /wallet-as-a-service/wallets/{blockchain}/{network}/transactions/{transactionId} Get Wallet Transaction Details By Transaction ID
InformativeApi ListAllAssetsByWalletID Get /wallet-as-a-service/wallets/{walletId}/assets List All Assets By Wallet ID
InformativeApi ListAllAssetsFromAllWallets Get /wallet-as-a-service/wallets/all-assets List All Assets From All Wallets
InformativeApi ListDepositAddresses Get /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses List Deposit Addresses
InformativeApi ListSupportedTokens Get /wallet-as-a-service/info/{blockchain}/{network}/supported-tokens List Supported Tokens
InformativeApi ListWalletTransactions Get /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/transactions List Wallet Transactions
InternalApi GetInternalTransactionByTransactionHashAndOperationId Get /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/internal/{operationId} Get Internal Transaction by Transaction Hash and Operation Id
InternalApi ListInternalTransactionDetailsByTransactionHash Get /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/internal List Internal Transaction Details by Transaction Hash
InternalApi ListInternalTransactionsByAddress Get /blockchain-data/{blockchain}/{network}/addresses/{address}/internal List Internal Transactions By Address
ManageSubscriptionsApi ActivateBlockchainEventSubscription Post /blockchain-events/subscriptions/{referenceId}/activate Activate Blockchain Event Subscription
ManageSubscriptionsApi DeleteBlockchainEventSubscription Delete /blockchain-events/{blockchain}/{network}/subscriptions/{referenceId} Delete Blockchain Event Subscription
ManageSubscriptionsApi GetBlockchainEventSubscriptionDetailsByReferenceID Get /blockchain-events/subscriptions/{referenceId} Get Blockchain Event Subscription Details By Reference ID
ManageSubscriptionsApi ListBlockchainEventsSubscriptions Get /blockchain-events/{blockchain}/{network}/subscriptions List Blockchain Events Subscriptions
MetadataApi ListSupportedAssets Get /market-data/assets/supported List Supported Assets
TokensApi GetTokenDetailsByContractAddress Get /blockchain-data/{blockchain}/{network}/addresses/{contractAddress}/contract Get Token Details by Contract Address
TokensApi ListConfirmedTokensTransfersByAddress Get /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers List Confirmed Tokens Transfers By Address
TokensApi ListTokensByAddress Get /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens List Tokens By Address
TokensApi ListTokensTransfersByTransactionHash Get /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/tokens-transfers List Tokens Transfers By Transaction Hash
TokensApi ListUnconfirmedTokensTransfersByAddress Get /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers-unconfirmed List Unconfirmed Tokens Transfers By Address
TransactionsApi 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 Post /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{address}/transaction-requests Create Coins Transaction Request from Address
TransactionsApi CreateCoinsTransactionRequestFromWallet Post /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/transaction-requests Create Coins Transaction Request from Wallet
TransactionsApi CreateFungibleTokenTransactionRequestFromAddressWithoutFeePriority Post /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{senderAddress}/feeless-token-transaction-requests Create Fungible Token Transaction Request From Address Without Fee Priority
TransactionsApi CreateFungibleTokensTransactionRequestFromAddress Post /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{senderAddress}/token-transaction-requests Create Fungible Tokens Transaction Request from Address
TransactionsApi CreateSingleTransactionRequestFromAddressWithoutFeePriority Post /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses/{address}/feeless-transaction-requests Create Single Transaction Request From Address Without Fee Priority
UnifiedEndpointsApi EstimateTransactionSmartFee Get /blockchain-data/{blockchain}/{network}/estimate-transaction-smart-fee Estimate Transaction Smart Fee
UnifiedEndpointsApi GetAddressBalance Get /blockchain-data/{blockchain}/{network}/addresses/{address}/balance Get Address Balance
UnifiedEndpointsApi GetAddressDetails Get /blockchain-data/{blockchain}/{network}/addresses/{address} Get Address Details
UnifiedEndpointsApi GetBlockDetailsByBlockHash Get /blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash} Get Block Details By Block Hash
UnifiedEndpointsApi GetBlockDetailsByBlockHeight Get /blockchain-data/{blockchain}/{network}/blocks/height/{height} Get Block Details By Block Height
UnifiedEndpointsApi GetFeeRecommendations Get /blockchain-data/{blockchain}/{network}/mempool/fees Get Fee Recommendations
UnifiedEndpointsApi GetLastMinedBlock Get /blockchain-data/{blockchain}/{network}/blocks/last Get Last Mined Block
UnifiedEndpointsApi GetNextAvailableNonce Get /blockchain-data/{blockchain}/{network}/addresses/{address}/next-available-nonce Get Next Available Nonce
UnifiedEndpointsApi GetRawTransactionData Get /blockchain-data/{blockchain}/{network}/transactions/{transactionId}/raw-data Get Raw Transaction Data
UnifiedEndpointsApi GetTransactionDetailsByTransactionID Get /blockchain-data/{blockchain}/{network}/transactions/{transactionId} Get Transaction Details By Transaction ID
UnifiedEndpointsApi ListConfirmedTokensTransfersByAddressAndTimeRange Get /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers-by-time-range List Confirmed Tokens Transfers By Address And Time Range
UnifiedEndpointsApi ListConfirmedTransactionsByAddress Get /blockchain-data/{blockchain}/{network}/addresses/{address}/transactions List Confirmed Transactions By Address
UnifiedEndpointsApi ListConfirmedTransactionsByAddressAndTimeRange Get /blockchain-data/{blockchain}/{network}/addresses/{address}/transactions-by-time-range List Confirmed Transactions By Address And Time Range
UnifiedEndpointsApi ListInternalTransactionsByAddressAndTimeRange Get /blockchain-data/{blockchain}/{network}/addresses/{address}/internal-by-time-range List Internal Transactions By Address And Time Range
UnifiedEndpointsApi ListLatestMinedBlocks Get /blockchain-data/{blockchain}/{network}/blocks/last/{count} List Latest Mined Blocks
UnifiedEndpointsApi ListTransactionsByBlockHash Get /blockchain-data/{blockchain}/{network}/blocks/hash/{blockHash}/transactions List Transactions by Block Hash
UnifiedEndpointsApi ListTransactionsByBlockHeight Get /blockchain-data/{blockchain}/{network}/blocks/height/{height}/transactions List Transactions by Block Height
UnifiedEndpointsApi ListUnconfirmedTransactionsByAddress Get /blockchain-data/{blockchain}/{network}/address-transactions-unconfirmed/{address} List Unconfirmed Transactions by Address
UnifiedEndpointsApi ListUnspentTransactionOutputsByAddress Get /blockchain-data/{blockchain}/{network}/addresses/{address}/unspent-outputs List Unspent Transaction Outputs By Address
XRPRippleApi GetLatestMinedXRPRippleBlock Get /blockchain-data/xrp-specific/{network}/blocks/last Get Latest Mined XRP (Ripple) Block
XRPRippleApi GetXRPRippleAddressDetails Get /blockchain-data/xrp-specific/{network}/addresses/{address} Get XRP (Ripple) Address Details
XRPRippleApi GetXRPRippleBlockDetailsByBlockHash Get /blockchain-data/xrp-specific/{network}/blocks/hash/{blockHash} Get XRP (Ripple) Block Details By Block Hash
XRPRippleApi GetXRPRippleBlockDetailsByBlockHeight Get /blockchain-data/xrp-specific/{network}/blocks/height/{blockHeight} Get XRP (Ripple) Block Details By Block Height
XRPRippleApi GetXRPRippleTransactionDetailsByTransactionID Get /blockchain-data/xrp-specific/{network}/transactions/{transactionHash} Get XRP (Ripple) Transaction Details By Transaction ID
XRPRippleApi ListXRPRippleTransactionsByAddress Get /blockchain-data/xrp-specific/{network}/addresses/{address}/transactions List XRP (Ripple) Transactions by Address
XRPRippleApi ListXRPRippleTransactionsByAddressAndTimeRange Get /blockchain-data/xrp-specific/{network}/addresses/{address}/transactions-by-time-range List XRP (Ripple) Transactions By Address And Time Range
XRPRippleApi ListXRPRippleTransactionsByBlockHash Get /blockchain-data/xrp-specific/{network}/blocks/hash/{blockHash}/transactions List XRP (Ripple) Transactions By Block Hash
XRPRippleApi ListXRPRippleTransactionsByBlockHeight Get /blockchain-data/xrp-specific/{network}/blocks/height/{blockHeight}/transactions List XRP (Ripple) Transactions By Block Height
ZilliqaApi GetLatestMinedZilliqaBlock Get /blockchain-data/zilliqa-specific/{network}/blocks/last Get Latest Mined Zilliqa Block
ZilliqaApi GetZilliqaAddressDetails Get /blockchain-data/zilliqa-specific/{network}/addresses/{address} Get Zilliqa Address Details
ZilliqaApi GetZilliqaBlockDetailsByBlockHash Get /blockchain-data/zilliqa-specific/{network}/blocks/hash/{blockHash} Get Zilliqa Block Details By Block Hash
ZilliqaApi GetZilliqaBlockDetailsByBlockHeight Get /blockchain-data/zilliqa-specific/{network}/blocks/height/{blockHeight} Get Zilliqa Block Details By Block Height
ZilliqaApi GetZilliqaTransactionDetailsByTransactionID Get /blockchain-data/zilliqa-specific/{network}/transactions/{transactionHash} Get Zilliqa Transaction Details by Transaction ID
ZilliqaApi ListZilliqaTransactionsByAddress Get /blockchain-data/zilliqa-specific/{network}/addresses/{address}/transactions List Zilliqa Transactions by Address
ZilliqaApi ListZilliqaTransactionsByBlockHash Get /blockchain-data/zilliqa-specific/{network}/blocks/hash/{blockHash}/transactions List Zilliqa Transactions By Block Hash
ZilliqaApi ListZilliqaTransactionsByBlockHeight Get /blockchain-data/zilliqa-specific/{network}/blocks/height/{blockHeight}/transactions List Zilliqa Transactions By Block Height

Documentation For Models

Documentation For Authorization

ApiKey

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: x-api-key and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

[email protected]

About

Golang library/SDK for Crypto APIs 2.0

Resources

License

Stars

Watchers

Forks

Packages

No packages published