DEPRECATED. Please follow the guide for migration to the new Uniform API. CollectionsService provides the ability to get collection and owners statistics.
Get the list of current owner addresses by contract address.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/collections/v1beta1/current_owners/:contractAddress?limit=string&offset=string&sortDirection=SORT_DIRECTION_ASC' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "owner": [
- {
- "address": "string",
- "ownedCount": "string"
}
]
}
Get owners count by contract address.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/collections/v1beta1/owners_count/:contractAddress?duration=DURATION_1_DAY×tampLt=2019-08-24T14%3A15%3A22Z&groupByPeriod=GROUP_BY_PERIOD_15_MINUTES' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "dataPoints": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "count": "string"
}
]
}
Get tokens supply summary by a contract address.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/collections/v1beta1/supply/:contractAddress?duration=DURATION_1_DAY×tampLt=2019-08-24T14%3A15%3A22Z&groupByPeriod=GROUP_BY_PERIOD_15_MINUTES' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "dataPoints": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "minted": "string",
- "burned": "string",
- "totalMinted": "string",
- "totalBurned": "string"
}
]
}
Get top collections by average price.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/collections/v1beta1/top/by_avg_price?limit=string&offset=string&duration=DURATION_1_DAY' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "collections": [
- {
- "contractAddress": "string",
- "avgPrice": "string",
- "contractName": "string"
}
]
}
Get top collections by maximum price.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/collections/v1beta1/top/by_max_price?limit=string&offset=string&duration=DURATION_1_DAY' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "collections": [
- {
- "contractAddress": "string",
- "maxPrice": "string",
- "contractName": "string"
}
]
}
Get top collections by sales count.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/collections/v1beta1/top/by_sales_count?limit=string&offset=string&duration=DURATION_1_DAY' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "collections": [
- {
- "contractAddress": "string",
- "salesCount": "string",
- "contractName": "string"
}
]
}
Get top collections by sales volume.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/collections/v1beta1/top/by_sales_volume?limit=string&offset=string&duration=DURATION_1_DAY' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "collections": [
- {
- "contractAddress": "string",
- "salesVolume": "string",
- "contractName": "string"
}
]
}
Get aggregated traits information for a collection.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/collections/v1beta1/traits/:contractAddress/summary?limit=string&offset=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "traitSummaries": [
- {
- "name": "string",
- "displayType": "DISPLAY_TYPE_PROPERTY",
- "valueType": "VALUE_TYPE_NUMERIC",
- "valueNumeric": {
- "min": 0,
- "max": 0
}, - "valueString": {
- "value": "string",
- "tokenCount": "string",
- "traitPercentage": 0
}, - "valueDate": {
- "min": "2019-08-24T14:15:22Z",
- "max": "2019-08-24T14:15:22Z"
}
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. ContractsService provides the ability to get details about smart contracts.
Returns a list of contracts ordered by the block mint timestamp.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/contracts/v1beta1/all?limit=string&offset=string&sortDirection=SORT_DIRECTION_ASC&blockTimestampGt=2019-08-24T14%3A15%3A22Z&contractTypes=TOKEN_TYPE_UNKNOWN' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "contracts": [
- {
- "type": "TOKEN_TYPE_UNKNOWN",
- "mintEvent": {
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "txHash": "string",
- "minterAddress": "string"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "address": "string",
- "types": [
- "TOKEN_TYPE_UNKNOWN"
]
}
]
}
Returns full details about the given smart contract, including the decoded type and metadata, if defined by the contract.
A successful response.
curl -i -X GET \ https://ethereum.rest.mnemonichq.com/contracts/v1beta1/by_address/:contractAddress \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "contract": {
- "type": "TOKEN_TYPE_UNKNOWN",
- "mintEvent": {
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "txHash": "string",
- "minterAddress": "string"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "address": "string",
- "types": [
- "TOKEN_TYPE_UNKNOWN"
]
}
}
Returns collection level information (counts, total volumes), and collection metadata from on-chain and off-chain sources.
A successful response.
curl -i -X GET \ https://ethereum.rest.mnemonichq.com/contracts/v1beta1/nft/metadata/:contractAddress \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "types": [
- "TOKEN_TYPE_UNKNOWN"
], - "name": "string",
- "tokensCount": "string",
- "ownersCount": "string",
- "salesVolume": "string",
- "metadata": [
- {
- "type": "TYPE_BANNER_IMAGE_URL",
- "value": "string"
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. EnsService provides the ability to query ENS Names to wallet address mappings and vice-versa.
Returns the current ENS entity(s) corresponding to a given Ethereum address, if it exists.
A successful response.
curl -i -X GET \ https://ethereum.rest.mnemonichq.com/ens/v1beta1/entity/by_address/:address \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "entities": [
- {
- "name": "string",
- "resolvedAddress": "string",
- "validFromTimestamp": "2019-08-24T14:15:22Z",
- "validTillTimestamp": "2019-08-24T14:15:22Z",
- "parentName": "string",
- "matchesReverseRecord": true
}
]
}
Returns the current ENS entity corresponding to a given ENS Name, if it exists.
A successful response.
curl -i -X GET \ https://ethereum.rest.mnemonichq.com/ens/v1beta1/entity/by_name/:name \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "entity": {
- "name": "string",
- "resolvedAddress": "string",
- "validFromTimestamp": "2019-08-24T14:15:22Z",
- "validTillTimestamp": "2019-08-24T14:15:22Z",
- "parentName": "string",
- "matchesReverseRecord": true
}
}
Returns all of the historical ENS entities corresponding to a given Ethereum address.
A successful response.
curl -i -X GET \ https://ethereum.rest.mnemonichq.com/ens/v1beta1/historical/entity/by_address/:address \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "entities": [
- {
- "name": "string",
- "resolvedAddress": "string",
- "validFromTimestamp": "2019-08-24T14:15:22Z",
- "validTillTimestamp": "2019-08-24T14:15:22Z"
}
]
}
Returns all of the historical ENS entities corresponding to a given ENS Name.
A successful response.
curl -i -X GET \ https://ethereum.rest.mnemonichq.com/ens/v1beta1/historical/entity/by_name/:name \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "entities": [
- {
- "name": "string",
- "resolvedAddress": "string",
- "validFromTimestamp": "2019-08-24T14:15:22Z",
- "validTillTimestamp": "2019-08-24T14:15:22Z"
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. MarketplaceService provides the ability to get marketplace activity about NFTs from different marketplaces.
Get the current floor price of a collection/NFT.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/ethereum/marketplaces/v1beta1/floors/:contractAddress?tokenId=string&marketplaceId=MARKETPLACE_ID_OPENSEA' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "price": {
- "totalNative": "string",
- "totalUsd": "string",
- "erc20Address": "string",
- "erc20Value": "string"
}
}
Get a list of active NFT listings across multiple marketplaces.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/ethereum/marketplaces/v1beta1/listings/active?limit=string&offset=string&sortBy=SORT_BY_CREATION_TIMESTAMP&sortDirection=SORT_DIRECTION_ASC&creationTimestampGt=2019-08-24T14%3A15%3A22Z&listingType=LISTING_TYPE_INDIVIDUAL_NFT&marketplaceId=MARKETPLACE_ID_OPENSEA&contractAddress=string&tokenId=string&creatorAddress=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "listings": [
- {
- "nft": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "quantity": "string",
- "type": "TOKEN_TYPE_ERC721",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}
}
], - "listingDetails": {
- "marketplaceId": "MARKETPLACE_ID_OPENSEA",
- "marketplacePermalink": "string",
- "saleType": "SALE_TYPE_FIXED_PRICE",
- "listingType": "LISTING_TYPE_INDIVIDUAL_NFT",
- "price": {
- "totalNative": "string",
- "totalUsd": "string",
- "erc20Address": "string",
- "erc20Value": "string"
}, - "creatorAddress": "string",
- "creationTimestamp": "2019-08-24T14:15:22Z",
- "startTimestamp": "2019-08-24T14:15:22Z",
- "expirationTimestamp": "2019-08-24T14:15:22Z"
}
}
]
}
Get a list of active NFT offers across multiple marketplaces.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/ethereum/marketplaces/v1beta1/offers/active?limit=string&offset=string&sortBy=SORT_BY_CREATION_TIMESTAMP&sortDirection=SORT_DIRECTION_ASC&creationTimestampGt=2019-08-24T14%3A15%3A22Z&offerType=OFFER_TYPE_OFFER_INDIVIDUAL_NFT&marketplaceId=MARKETPLACE_ID_OPENSEA&contractAddress=string&tokenId=string&creatorAddress=string&receiverAddress=string&includeOwnedTokensInCollectionOffer=true' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "offers": [
- {
- "nft": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "quantity": "string",
- "type": "TOKEN_TYPE_ERC721",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}
}
], - "offerDetails": {
- "marketplaceId": "MARKETPLACE_ID_OPENSEA",
- "marketplacePermalink": "string",
- "offerType": "OFFER_TYPE_OFFER_INDIVIDUAL_NFT",
- "price": {
- "totalNative": "string",
- "totalUsd": "string",
- "erc20Address": "string",
- "erc20Value": "string"
}, - "creatorAddress": "string",
- "receiverAddress": "string",
- "creationTimestamp": "2019-08-24T14:15:22Z",
- "startTimestamp": "2019-08-24T14:15:22Z",
- "expirationTimestamp": "2019-08-24T14:15:22Z"
}
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. PricingService provides the ability to get realtime pricing and trading information for the collection.
Get prices history by contract address. Note: Prices below 0.01 ETH will not be included in this data. Prices below this value often represent what are effectively transfers rather than real sales.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/pricing/v1beta1/prices/by_contract/:contractAddress?duration=DURATION_1_DAY×tampLt=2019-08-24T14%3A15%3A22Z&groupByPeriod=GROUP_BY_PERIOD_15_MINUTES' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "dataPoints": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "min": "string",
- "max": "string",
- "avg": "string"
}
]
}
Get sales volume and count by contract address. Note: Prices below 0.01 ETH will not be included in this data. Prices below this value often represent what are effectively transfers rather than real sales.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/pricing/v1beta1/volumes/by_contract/:contractAddress?duration=DURATION_1_DAY×tampLt=2019-08-24T14%3A15%3A22Z&groupByPeriod=GROUP_BY_PERIOD_15_MINUTES' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "dataPoints": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "count": "string",
- "volume": "string"
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. TokensService provides the ability to get the NFTs that match various criteria and details about specific NFTs.
Get the list of NFTs tracked by a given contract.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/tokens/v1beta1/by_contract/:contractAddress?limit=string&offset=string&sortDirection=SORT_DIRECTION_ASC&blockTimestampGt=2019-08-24T14%3A15%3A22Z&traits=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "tokens": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "type": "TOKEN_TYPE_ERC721",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}, - "mintEvent": {
- "txHash": "string",
- "logIndex": "string",
- "blockTimestamp": "2019-08-24T14:15:22Z"
}
}
]
}
Get the list of NFTs minted by a given address.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/tokens/v1beta1/by_minter/:minterAddress?limit=string&offset=string&contractAddress=string&tokenTypes=TOKEN_TYPE_ERC721&blockTimestampGt=2019-08-24T14%3A15%3A22Z' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "tokens": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "type": "TOKEN_TYPE_ERC721",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}, - "mintEvent": {
- "txHash": "string",
- "logIndex": "string",
- "blockTimestamp": "2019-08-24T14:15:22Z"
}
}
]
}
Get the list of NFTs owned by a given address.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/tokens/v1beta1/by_owner/:ownerAddress?limit=string&offset=string&contractAddress=string&tokenTypes=TOKEN_TYPE_ERC721' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "tokens": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "type": "TOKEN_TYPE_ERC721",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}, - "quantity": "string"
}
]
}
Get full metadata of a given NFT.
A successful response.
curl -i -X GET \ https://ethereum.rest.mnemonichq.com/tokens/v1beta1/token/:contractAddress/:tokenId/metadata \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}, - "raw": "string",
- "indexedAt": "2019-08-24T14:15:22Z",
- "quantity": "string",
- "ownerCount": "string"
}
}
Get the list of NFT owners including the quantity owned.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/tokens/v1beta1/token/:contractAddress/:tokenId/owners?limit=string&offset=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "owners": [
- {
- "address": "string",
- "quantity": "string"
}
]
}
Get all token traits of a given NFT.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/tokens/v1beta1/token/:contractAddress/:tokenId/traits?limit=string&offset=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "traits": [
- {
- "name": "string",
- "displayType": "DISPLAY_TYPE_PROPERTY",
- "valueType": "VALUE_TYPE_NUMERIC",
- "valueNumeric": {
- "value": 0,
- "min": 0,
- "max": 0
}, - "valueString": {
- "value": "string",
- "tokenCount": "string",
- "traitPercentage": 0
}, - "valueDate": {
- "value": "2019-08-24T14:15:22Z",
- "min": "2019-08-24T14:15:22Z",
- "max": "2019-08-24T14:15:22Z"
}
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. Transfers Insights endpoints allows to get transfer events by various criteria. The service provides NFT transfers with price attribution per token transfered, which is especially important in multi-token transactions. In addition the service also provides full transfers breakout by transactions.
Get list of NFT, ETH and ERC20 transfers by the transaction hash (for NFT-related transactions only).
A successful response.
curl -i -X GET \ https://ethereum.rest.mnemonichq.com/transfers/v1beta1/all/by_tx_hash/:txHash \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "nftTransfers": [
- {
- "blockchainEvent": {
- "txHash": "string",
- "logIndex": "string",
- "seqIndex": "string",
- "blockNumber": "string",
- "blockTimestamp": "2019-08-24T14:15:22Z"
}, - "contractAddress": "string",
- "tokenId": "string",
- "tokenType": "TOKEN_TYPE_ERC721",
- "transferType": "TRANSFER_TYPE_MINT",
- "quantity": "string",
- "sender": {
- "address": "string",
- "type": "TYPE_OWNER"
}, - "senderReceived": {
- "totalEth": "string",
- "totalUsd": "string",
- "ethTransfersTotal": "string",
- "erc20TransfersTotal": "string",
- "attributedBy": "ATTRIBUTED_BY_ZERO_QUANTITY_TX",
- "erc20Totals": [
- {
- "contractAddress": "string",
- "totalNormalized": "string"
}
]
}, - "recipient": {
- "address": "string",
- "type": "TYPE_OWNER"
}, - "recipientPaid": {
- "totalEth": "string",
- "totalUsd": "string",
- "ethTransfersTotal": "string",
- "erc20TransfersTotal": "string",
- "attributedBy": "ATTRIBUTED_BY_ZERO_QUANTITY_TX",
- "erc20Totals": [
- {
- "contractAddress": "string",
- "totalNormalized": "string"
}
]
}, - "labels": [
- "LABEL_MINT"
]
}
], - "ethTransfers": [
- {
- "fromAddress": "string",
- "toAddress": "string",
- "valueRaw": "string",
- "valueNormalized": "string"
}
], - "erc20Transfers": [
- {
- "fromAddress": "string",
- "toAddress": "string",
- "contractAddress": "string",
- "valueRaw": "string",
- "valueNormalized": "string",
- "valueEth": "string"
}
]
}
Get list of the NFT transfers by various criteria.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/transfers/v1beta1/nft?limit=string&offset=string&sortDirection=SORT_DIRECTION_ASC&blockTimestampGt=2019-08-24T14%3A15%3A22Z&contractAddress=string&tokenId=string&transferTypes=TRANSFER_TYPE_MINT&tokenTypes=TOKEN_TYPE_ERC721&senderAddress=string&recipientAddress=string&labelsAny=LABEL_MINT' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "nftTransfers": [
- {
- "blockchainEvent": {
- "txHash": "string",
- "logIndex": "string",
- "seqIndex": "string",
- "blockNumber": "string",
- "blockTimestamp": "2019-08-24T14:15:22Z"
}, - "contractAddress": "string",
- "tokenId": "string",
- "tokenType": "TOKEN_TYPE_ERC721",
- "transferType": "TRANSFER_TYPE_MINT",
- "quantity": "string",
- "sender": {
- "address": "string",
- "type": "TYPE_OWNER"
}, - "senderReceived": {
- "totalEth": "string",
- "totalUsd": "string",
- "ethTransfersTotal": "string",
- "erc20TransfersTotal": "string",
- "attributedBy": "ATTRIBUTED_BY_ZERO_QUANTITY_TX",
- "erc20Totals": [
- {
- "contractAddress": "string",
- "totalNormalized": "string"
}
]
}, - "recipient": {
- "address": "string",
- "type": "TYPE_OWNER"
}, - "recipientPaid": {
- "totalEth": "string",
- "totalUsd": "string",
- "ethTransfersTotal": "string",
- "erc20TransfersTotal": "string",
- "attributedBy": "ATTRIBUTED_BY_ZERO_QUANTITY_TX",
- "erc20Totals": [
- {
- "contractAddress": "string",
- "totalNormalized": "string"
}
]
}, - "labels": [
- "LABEL_MINT"
]
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. BlockchainService provides the ability to query basic primitives of the Ethereum blockchain (such as blocks, transactions, logs, etc).
Returns the block corresponding to a given block number.
A successful response.
curl -i -X GET \ https://ethereum.rest.mnemonichq.com/blockchain/v1beta1/blocks/by_number/:blockNumber \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "block": {
- "number": "string",
- "hash": "string",
- "parentHash": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "size": "string",
- "gasUsed": "string",
- "gasLimit": "string",
- "baseFeePerGas": "string",
- "miner": "string",
- "nonce": "string"
}
}
Returns in a paginated manner the list of logs corresponding to a given transaction hash.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/blockchain/v1beta1/logs/by_transaction_hash/:transactionHash?limit=string&offset=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "logs": [
- {
- "transactionHash": "string",
- "index": "string",
- "address": "string",
- "removed": true,
- "topic0": "string",
- "topic1": "string",
- "topic2": "string",
- "topic3": "string",
- "data": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
}
Returns the receipt corresponding to the transaction with a given hash.
A successful response.
curl -i -X GET \ https://ethereum.rest.mnemonichq.com/blockchain/v1beta1/transaction_receipts/by_hash/:transactionHash \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "transactionReceipt": {
- "transactionHash": "string",
- "status": "string",
- "postState": "string",
- "gasUsed": "string",
- "cumulativeGasUsed": "string",
- "contractAddress": "string",
- "transactionIndex": 0
}
}
Returns the transaction corresponding to a given hash.
A successful response.
curl -i -X GET \ https://ethereum.rest.mnemonichq.com/blockchain/v1beta1/transactions/by_hash/:transactionHash \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "transaction": {
- "hash": "string",
- "blockNumber": "string",
- "fromAddress": "string",
- "toAddress": "string",
- "value": "string",
- "data": "string",
- "type": 0,
- "nonce": "string",
- "gasLimit": "string",
- "gasPrice": "string",
- "gasFeeCap": "string",
- "gasTipCap": "string"
}
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. WalletsService provides the ability to get a list of NFTs or Transfers where a specific Wallet is involved.
List collections owned by a given Wallet.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/wallets/v1beta1/:walletAddress/collections?limit=string&offset=string&sortField=SORT_FIELD_COLLECTION_ADDRESS&sortDirection=SORT_DIRECTION_ASC' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "collections": [
- {
- "contractAddress": "string",
- "tokensCount": "string",
- "tokensQuantity": "string",
- "lastReceivedAt": "2019-08-24T14:15:22Z"
}
]
}
Get list of the NFT transfers by the specified wallet.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/wallets/v1beta1/:walletAddress/nft_transfers?limit=string&offset=string&sortDirection=SORT_DIRECTION_ASC&blockTimestampGt=2019-08-24T14%3A15%3A22Z&contractAddress=string&tokenId=string&labelsAny=LABEL_MINT&tokenIsSpam=SPAM_EXCLUDE&party=PARTY_SENDER' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "nftTransfers": [
- {
- "blockchainEvent": {
- "txHash": "string",
- "logIndex": "string",
- "seqIndex": "string",
- "blockNumber": "string",
- "blockTimestamp": "2019-08-24T14:15:22Z"
}, - "contractAddress": "string",
- "tokenId": "string",
- "quantity": "string",
- "sender": {
- "address": "string",
- "type": "TYPE_OWNER"
}, - "senderReceived": {
- "totalEth": "string",
- "totalUsd": "string",
- "ethTransfersTotal": "string",
- "erc20TransfersTotal": "string",
- "attributedBy": "ATTRIBUTED_BY_ZERO_QUANTITY_TX",
- "erc20Totals": [
- {
- "contractAddress": "string",
- "totalNormalized": "string"
}
]
}, - "recipient": {
- "address": "string",
- "type": "TYPE_OWNER"
}, - "recipientPaid": {
- "totalEth": "string",
- "totalUsd": "string",
- "ethTransfersTotal": "string",
- "erc20TransfersTotal": "string",
- "attributedBy": "ATTRIBUTED_BY_ZERO_QUANTITY_TX",
- "erc20Totals": [
- {
- "contractAddress": "string",
- "totalNormalized": "string"
}
]
}, - "labels": [
- "LABEL_MINT"
], - "tokenIsSpam": true
}
]
}
Get list of the NFTs owned by the specified wallet.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/wallets/v1beta1/:walletAddress/nfts?limit=string&offset=string&contractAddress=string&spam=SPAM_EXCLUDE' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "tokens": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}, - "quantity": "string",
- "spam": true
}
]
}
Report that a collection or token was inaccurately flagged as spam.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/wallets/v1beta1/:walletAddress/report_not_spam/:contractAddress?tokenId=string&feedback=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{ }
Report a collection or token as spam.
A successful response.
curl -i -X GET \ 'https://ethereum.rest.mnemonichq.com/wallets/v1beta1/:walletAddress/report_spam/:contractAddress?tokenId=string&feedback=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{ }