Objects
Address
Address on the blockchain, contains info about tokens and ENS profiles
Fields
Name | Description | ||||
---|---|---|---|---|---|
addressHexAddress! | EIP55 checksummed hexadecimal address | ||||
reverseProfileProfile | ENS profile for the reverse-record set in ENS for this address | ||||
profileProfile | ENS profile which was used to refer to this address in a top-level argument, null if this address was queried as a hex address instead of an ENS name. Example: | ||||
tokens[NonFungibleToken!] | Arguments
|
Cursors
Fields
Name | Description |
---|---|
afterString | Returns the elements in the list that come after the specified cursor. |
beforeString | Returns the elements in the list that come before the specified cursor. |
Erc20Balance
Fields
Name | Description |
---|---|
amountWei! | |
ownerAddress! | |
contractContract! |
Erc20Contract
Implements
Fields
Name | Description |
---|---|
addressHexAddress! | |
nameString | |
symbolString | |
decimalsInt |
Erc20Transfer
A transfer of an ERC20 token from one address to another, as defined in EIP20.
Implements
Fields
Name | Description |
---|---|
transactionHashString! | Hash signature of the transaction in which this transfer did occur |
logIndexInt! | Position of the log within a block in which this transfer was logged |
blockNumberInt! | Block Number in which this transaction was included |
contractAddressHexAddress! | Address containing this token's contract code |
contractContract | |
fromAddress! | Address sending this token, when this contains the "null address" this token was minted during this transfer |
toAddress | Address receiving this token, when this contains the "null address" this token was burned during this transfer |
transactionTransaction! | Transaction in which this transfer occurred |
valueWei! | The amount of tokens sent in this transfer in WEI |
Erc20TransferPage
Fields
Name | Description |
---|---|
erc20Transfers[Erc20Transfer!]! | List of transfers within this page, use the |
cursorsCursors! | Cursors for use in Pagination |
totalCountInt! | Total amount of items within the given filters. Capped at 10000 for performance reasons. |
Erc721Token
Implements
Fields
Name | Description |
---|---|
contractString! | |
tokenIdString! | |
nameString | |
descriptionString | |
externalUrlString | |
backgroundColorString | |
animationUrlString | |
youtubeUrlString | |
tokenUriJson | |
imageMedia | |
animationMedia | |
imageStorageTypeTokenStorageType | |
ownerAddress | |
sales[NonFungibleTokenSale!] | |
mintPriceWei! | |
mintTransactionTransaction | |
attributes[NonFungibleTokenAttribute!] |
Erc721Transfer
A transfer of an ERC721 non fungible token from one token to another, as defined in EIP721.
Implements
Fields
Name | Description |
---|---|
transactionHashString! | Hash signature of the transaction in which this transfer did occur |
logIndexInt! | Position of the log within a block in which this transfer was logged |
isAirdropBoolean! | Whether this was a mint initiated by an address that was not the receiver of this transfer |
contractAddressHexAddress! | Address containing this token's contract code |
tokenIdString! | Token ID which was transferred |
blockNumberInt! | Block Number in which this transaction was included |
blockHashString | Block hash in which this transaction was included |
contractAddress! | Address containing this token's contract code |
fromAddress! | Address sending this token, when this contains the "null address" this token was minted during this transfer |
toAddress | Address receiving this token, when this contains the "null address" this token was burned during this transfer |
transactionTransaction! | Transaction in which this transfer occurred |
tokenNonFungibleToken! | Metadata for the token which was transferred |
saleNonFungibleTokenSale | Sale log found to be associated with this transfer |
Erc721TransferPage
Fields
Name | Description |
---|---|
erc721Transfers[Erc721Transfer!]! | List of transfers within this page, use the |
cursorsCursors! | Cursors for use in Pagination |
totalCountInt! | Total amount of items within the given filters. Capped at 10000 for performance reasons. |
Media
Fields
Name | Description |
---|---|
checksumString! | An arbitrary checksum for this media, useful for caching |
blurhashString | Blurhash for showing a gradient while images are fetching, uses formatting from https://blurhash.io |
urlString | Original file stored on Basement's cdn |
smallUrlString | A small render for this token |
thumbnailUrlString | A thumbnail render for this token |
largeUrlString | A large render for this token |
widthInt | Image's width, nil if this media is not an image |
heightInt | Image's height, nil if this media is not an image |
mimeTypeString | Content-Type as returned by the host of this media |
NativeTransfer
Implements
Fields
Name | Description |
---|---|
transactionHashString! | Hash signature of the transaction in which this transfer did occur |
transactionIndexInt! | Index of this transaction within a block |
blockNumberInt! | Block Number in which this transaction was included |
logIndexInt | This field always returns null for native transfers. |
fromAddress! | Address sending ETH |
toAddress! | Address receiving ETH |
valueWei! | The amount of ETH sent in this transfer in WEI |
errorString | Returns the error returned in this trace, null if execution was successful. |
erroredBoolean! | |
traceAddress[Int]! | Position of this trace in the full tree of subtraces |
inputString | Complete calldata sent with this subcall |
methodIdString | First 4 bytes of the input, which refer to the function signature in the contract |
typeNativeTransferType! | Type of event in which this eth was transferred |
transactionTransaction! | Transaction in which this transfer occurred |
NativeTransferPage
Fields
Name | Description |
---|---|
nativeTransfers[NativeTransfer!]! | List of transfers within this page, use the |
cursorsCursors! | Cursors for use in Pagination |
totalCountInt! | Total amount of items within the given filters. Capped at 10000 for performance reasons. |
NonFungibleTokenAttribute
Fields
Name | Description |
---|---|
traitTypeString | |
valueString | |
displayTypeString |
NonFungibleTokenSale
Index of the log in a transaction signaling the sale. Such as OrdersMatched or OrderFulfilled.
Implements
Fields
Name | Description |
---|---|
transactionHashString! | Hash signature of the transaction in which this sale occurred |
logIndexInt! | Index of the log in a transaction signaling the sale. Such as OrdersMatched or OrderFulfilled. |
eventIndexInt! | In the case of a batch sale, there are multiple sales in one log, this value returns the index within a given log. |
transactionTransaction! | |
priceWei! | Price in wei, always check currency_contract to check whether this price is in the native currency of the chain or an erc20 equivalent |
currencyContractAddress | Currency used for this sale. When null this is the native currency |
makerAddress! | Maker of this sale as defined by the implementing marketplace contract |
takerAddress! | Taker of this sale as defined by the implementing marketplace contract |
marketplaceContractAddress! | Marketplace contract used for this sale |
marketplaceMarketplace! | Marketplace in which this sale occurred |
tokenMetadataNonFungibleToken | Metadata for the token which was transferred due to this sale |
Profile
Fields
Name | Description | ||||
---|---|---|---|---|---|
nameString! | |||||
avatarString | Avatar text record, as returned by the ENS resolver. | ||||
emailString | Email text record, as returned by the ENS resolver. | ||||
textString | Returns any text record stored in ENS with the given key. Arguments
|
TokensPage
Fields
Name | Description |
---|---|
tokens[NonFungibleToken!]! | List of tokens within this page, use the |
cursorsCursors! | Cursors for use in Pagination |
totalCountInt! | Total amount of items within the given filters. Capped at 10000 for performance reasons |
Transaction
A transaction executed and stored on the blockchain
Fields
Name | Description | ||||
---|---|---|---|---|---|
idID! | Unique identifier within transactions in Basement. Can be useful for caching in for example Apollo Client. | ||||
hashString! | Signature hash for this transaction | ||||
indexInt! | Position of this transaction within a block | ||||
blockNumberInt! | Block Number in which this transaction was included | ||||
blockTimestampDateTime! | UTC time at which this block was mined | ||||
inputString | Complete calldata sent with this transaction | ||||
methodIdString | First 4 bytes of the input, which refer to the function signature of the contract | ||||
valueWei! | Number of eth sent with the transaction in wei | ||||
gasPriceWei! | Gas price with which the transaction was sent by the address in wei | ||||
gasInt! | Maximum amount of gas for which the address allowed the miner to execute | ||||
effectiveGasPriceWei! | Gas price with which the transaction was executed by the miner in wei | ||||
gasUsedInt! | Gas used after execution by the miner | ||||
statusBoolean! | Whether execution on this transaction succeeded | ||||
gasPaidWei! | Amount of eth paid to execute this transaction, in wei | ||||
fromAddress! | Address which initiated this transaction | ||||
toAddress | Address to which this transaction was sent. This can be another wallet, a contract, or nil in the case of a contract creation. | ||||
events[TransactionEvent!]! | Indexed transaction events. See implementations of | ||||
logs[TransactionLog!]! | Logs emitted while executing this transaction | ||||
erc20Transfers[Erc20Transfer!]! | Erc20 transfers within this transaction | ||||
nativeTransfers[NativeTransfer!]! | Native transfers within this transaction | ||||
erc721Transfers[Erc721Transfer!]! | Native transfers within this transaction | ||||
parsedInputJson | Arguments
|
TransactionLog
Fields
Name | Description | ||||
---|---|---|---|---|---|
blockHashString | Block hash in which this log was included | ||||
blockNumberInt! | Block number in which this log was included | ||||
logIndexInt! | Position of this log within the block | ||||
addressAddress! | Address of the contract which emitted this log | ||||
transactionHashString! | Hash signature of the transaction during which this log was emitted | ||||
topics[String!]! | List of hex encoded topics, as indexed by this log event | ||||
dataString! | Hex encoded data included in the log. | ||||
removedBoolean! | Whether this log was removed during a block reorg | ||||
transactionTransaction! | The transaction during which this log was emitted | ||||
parsedDataJson | Arguments
|
TransactionLogPage
Fields
Name | Description |
---|---|
transactionLogs[TransactionLog!]! | List of transaction logs within this page, use the |
cursorsCursors! | Cursors for use in Pagination |
totalCountInt! | Total amount of items within the given filters. Capped at 10000 for performance reasons. |
TransactionPage
Fields
Name | Description |
---|---|
transactions[Transaction!]! | List of transactions within this page, use the |
cursorsCursors! | Cursors for use in Pagination |
totalCountInt! | Total amount of items within the given filters. Capped at 10000 for performance reasons. |
TransferPage
Fields
Name | Description |
---|---|
transfers[Transfer!]! | List of transfers within this page, use the |
cursorsCursors! | Cursors for use in Pagination |
totalCountInt! | Total amount of items within the given filters. Capped at 10000 for performance reasons. |