Categorygithub.com/DevilsTear/moralis-go-client

# README

Go API client for swagger

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

Overview

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

  • API version: 2
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

Installation

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

import "./swagger"

Documentation for API Endpoints

All URIs are relative to https://deep-index.moralis.io/api/v2

ClassMethodHTTP requestDescription
AccountApiGetNFTTransfersGet /{address}/nft/transfersGets NFT transfers to and from a given address
AccountApiGetNFTsGet /{address}/nftGets the NFTs owned by a given address
AccountApiGetNFTsForContractGet /{address}/nft/{token_address}Gets the NFTs owned by a given address
AccountApiGetNativeBalanceGet /{address}/balanceGets native balance for a specific address.
AccountApiGetTokenBalancesGet /{address}/erc20Gets token balances for a specific address.
AccountApiGetTokenTransfersGet /{address}/erc20/transfersGets erc 20 token transactions
AccountApiGetTransactionsGet /{address}Gets native transactions
DefiApiGetPairAddressGet /{token0_address}/{token1_address}/pairAddressGet pair address based on token0 and token1 address
DefiApiGetPairReservesGet /{pair_address}/reservesGet liquidity pair reserves for an Uniswap V2 based Exchange.
InfoApiEndpointWeightsGet /info/endpointWeightsReturns the endpoint price list for rate limits and costs
InfoApiWeb3ApiVersionGet /web3/versionReturns the web3 api version
NativeApiGetBlockGet /block/{block_number_or_hash}Gets block contents by block hash
NativeApiGetContractEventsPost /{address}/eventsGets events by topic
NativeApiGetDateToBlockGet /dateToBlockGets the closest block of the provided date
NativeApiGetLogsByAddressGet /{address}/logsGets address logs
NativeApiGetNFTTransfersByBlockGet /block/{block_number_or_hash}/nft/transfersGets NFT transfers by block number or block hash
NativeApiGetTransactionGet /transaction/{transaction_hash}Get transaction details by transaction hash
NativeApiRunContractFunctionPost /{address}/functionRuns a function of a contract abi
ResolveApiResolveAddressGet /resolve/{address}/reverseReturn the ENS domain when available (Only for ETH)
ResolveApiResolveDomainGet /resolve/{domain}Resolves an Unstoppable domain and returns the address
StorageApiUploadFolderPost /ipfs/uploadFolderUploads multiple files and place them in a folder directory
TokenApiGetAllTokenIdsGet /nft/{address}Retrieves the unique NFTs inside a given contract
TokenApiGetContractNFTTransfersGet /nft/{address}/transfersGets NFT transfers of a given contract
TokenApiGetNFTLowestPriceGet /nft/{address}/lowestpriceGet the lowest price found for a nft token contract
TokenApiGetNFTMetadataGet /nft/{address}/metadataGets the global metadata for a given contract
TokenApiGetNFTOwnersGet /nft/{address}/ownersGets the owners of the NFTs of a given contract
TokenApiGetNFTTradesGet /nft/{address}/tradesGet nft trades by marketplaces
TokenApiGetNftTransfersFromToBlockGet /nft/transfersGets NFT transfers from a block number to a block number
TokenApiGetTokenAddressTransfersGet /erc20/{address}/transfersGets erc20 transactions of a token contract
TokenApiGetTokenAllowanceGet /erc20/{address}/allowanceGets the amount which the spender is allowed to withdraw from the owner.
TokenApiGetTokenIdMetadataGet /nft/{address}/{token_id}Gets the NFT with the given id of a given contract
TokenApiGetTokenIdOwnersGet /nft/{address}/{token_id}/ownersGets the owners of NFTs for a given contract
TokenApiGetTokenMetadataGet /erc20/metadataGets token metadata
TokenApiGetTokenMetadataBySymbolGet /erc20/metadata/symbolsGets token metadata
TokenApiGetTokenPriceGet /erc20/{address}/priceGets token price
TokenApiGetWalletTokenIdTransfersGet /nft/{address}/{token_id}/transfersGets NFT transfers of a given contract
TokenApiReSyncMetadataGet /nft/{address}/{token_id}/metadata/resyncresync the metadata for a given token_id
TokenApiSearchNFTsGet /nft/searchRetrieves the NFT data based on a metadata search
TokenApiSyncNFTContractPut /nft/{address}/syncSync a Contract for NFT Index

Documentation For Models

Documentation For Authorization

ApiKeyAuth

  • Type: API key

Example

auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
	Key: "APIKEY",
	Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)

Author

moralis-go-client

# Packages

* Moralis API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */.
* Moralis API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */.