@codex-data/sdk 0.6.2 → 1.0.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resources/generated_mutations/CreateApiTokens.graphql +9 -0
- package/dist/resources/generated_mutations/CreateWebhooks.graphql +80 -0
- package/dist/resources/generated_mutations/DeleteApiToken.graphql +3 -0
- package/{src/sdk/graphql → dist/resources/generated_mutations}/DeleteWebhooks.graphql +1 -1
- package/dist/resources/generated_queries/ApiToken.graphql +9 -0
- package/dist/resources/generated_queries/ApiTokens.graphql +9 -0
- package/dist/resources/generated_queries/Balances.graphql +12 -0
- package/dist/resources/generated_queries/ChartUrls.graphql +7 -0
- package/dist/resources/generated_queries/FilterExchanges.graphql +43 -0
- package/dist/resources/generated_queries/FilterNftCollections.graphql +569 -0
- package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +60 -0
- package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +71 -0
- package/dist/resources/generated_queries/FilterNftPools.graphql +124 -0
- package/dist/resources/generated_queries/FilterPairs.graphql +339 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +279 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetBars.graphql +21 -9
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +20 -0
- package/dist/resources/generated_queries/GetDetailedNftStats.graphql +831 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetDetailedPairStats.graphql +370 -373
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +922 -0
- package/dist/resources/generated_queries/GetEventLabels.graphql +24 -0
- package/dist/resources/generated_queries/GetExchanges.graphql +12 -0
- package/dist/resources/generated_queries/GetLatestPairs.graphql +57 -0
- package/dist/resources/generated_queries/GetLatestTokens.graphql +39 -0
- package/dist/resources/generated_queries/GetNetworkStats.graphql +13 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetNetworkStatus.graphql +2 -1
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetNetworks.graphql +1 -0
- package/dist/resources/generated_queries/GetNftAssets.graphql +59 -0
- package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +75 -0
- package/dist/resources/generated_queries/GetNftContracts.graphql +39 -0
- package/dist/resources/generated_queries/GetNftEvents.graphql +54 -0
- package/dist/resources/generated_queries/GetNftPool.graphql +74 -0
- package/dist/resources/generated_queries/GetNftPoolCollection.graphql +33 -0
- package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +38 -0
- package/dist/resources/generated_queries/GetNftPoolEvents.graphql +41 -0
- package/dist/resources/generated_queries/GetNftPoolStats.graphql +40 -0
- package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +89 -0
- package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +89 -0
- package/dist/resources/generated_queries/GetParallelAssets.graphql +50 -0
- package/dist/resources/generated_queries/GetParallelCardChanges.graphql +57 -0
- package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +32 -0
- package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +38 -0
- package/dist/resources/generated_queries/GetPrimePools.graphql +62 -0
- package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +128 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetSymbol.graphql +7 -7
- package/dist/resources/generated_queries/GetTokenCount.graphql +3 -0
- package/dist/resources/generated_queries/GetTokenEvents.graphql +49 -0
- package/dist/resources/generated_queries/GetTokenInfo.graphql +17 -0
- package/dist/resources/generated_queries/GetTokenPrices.graphql +9 -0
- package/dist/resources/generated_queries/GetTokensInfo.graphql +17 -0
- package/dist/resources/generated_queries/GetUniV3Ticks.graphql +22 -0
- package/dist/resources/generated_queries/GetWebhooks.graphql +36 -0
- package/dist/resources/generated_queries/Holders.graphql +14 -0
- package/dist/resources/generated_queries/LiquidityLocks.graphql +26 -0
- package/dist/resources/generated_queries/LiquidityMetadata.graphql +17 -0
- package/dist/resources/generated_queries/ListFavoriteTokens.graphql +58 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/ListPairsForToken.graphql +77 -41
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +282 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/ListTopTokens.graphql +22 -16
- package/dist/resources/generated_queries/NftHolders.graphql +12 -0
- package/{src/sdk/graphql/OnPairMetadataUpdated.graphql → dist/resources/generated_queries/PairMetadata.graphql} +21 -3
- package/dist/resources/generated_queries/PrimeBalance.graphql +12 -0
- package/dist/resources/generated_queries/PrimeHolders.graphql +13 -0
- package/dist/resources/generated_queries/SearchNfts.graphql +35 -0
- package/dist/resources/generated_queries/Token.graphql +62 -0
- package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +22 -0
- package/{src/sdk/graphql/GetSparklines.graphql → dist/resources/generated_queries/TokenSparklines.graphql} +2 -2
- package/dist/resources/generated_queries/Tokens.graphql +62 -0
- package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +11 -0
- package/dist/resources/generated_queries/WalletNftCollections.graphql +10 -0
- package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +513 -0
- package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnDetailedStatsUpdated.graphql +119 -111
- package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +46 -0
- package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +42 -0
- package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +37 -0
- package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnNftAssetsCreated.graphql +30 -17
- package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +36 -0
- package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +37 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +73 -0
- package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnPriceUpdated.graphql +1 -1
- package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +9 -0
- package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +121 -0
- package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +39 -0
- package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +18 -0
- package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +32 -0
- package/dist/resources/graphql.d.ts +131 -0
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +1570 -0
- package/dist/resources/graphql.ts +148 -0
- package/dist/resources/schema.graphql +184 -0
- package/dist/scripts/buildSdk.d.ts +2 -0
- package/dist/scripts/buildSdk.d.ts.map +1 -0
- package/dist/scripts/buildSdk.js +135 -0
- package/dist/scripts/buildSdk.js.map +1 -0
- package/dist/scripts/generateGraphql.d.ts +30 -0
- package/dist/scripts/generateGraphql.d.ts.map +1 -0
- package/dist/scripts/generateGraphql.js +179 -0
- package/dist/scripts/generateGraphql.js.map +1 -0
- package/dist/sdk/Mutation.d.ts +5 -8
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +3 -0
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +65 -14
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +64 -12
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +18 -11
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +112 -9
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +636 -66
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +84 -22
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +8407 -2195
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +87 -25
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +12 -4
- package/src/resources/generated_mutations/CreateApiTokens.graphql +9 -0
- package/src/resources/generated_mutations/CreateWebhooks.graphql +80 -0
- package/src/resources/generated_mutations/DeleteApiToken.graphql +3 -0
- package/src/resources/generated_mutations/DeleteWebhooks.graphql +5 -0
- package/src/resources/generated_queries/ApiToken.graphql +9 -0
- package/src/resources/generated_queries/ApiTokens.graphql +9 -0
- package/src/resources/generated_queries/Balances.graphql +12 -0
- package/src/resources/generated_queries/ChartUrls.graphql +7 -0
- package/src/resources/generated_queries/FilterExchanges.graphql +43 -0
- package/src/resources/generated_queries/FilterNftCollections.graphql +569 -0
- package/src/resources/generated_queries/FilterNftParallelAssets.graphql +60 -0
- package/src/resources/generated_queries/FilterNftPoolCollections.graphql +71 -0
- package/src/resources/generated_queries/FilterNftPools.graphql +124 -0
- package/src/resources/generated_queries/FilterPairs.graphql +339 -0
- package/src/resources/generated_queries/FilterTokens.graphql +279 -0
- package/src/resources/generated_queries/GetBars.graphql +44 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +20 -0
- package/src/resources/generated_queries/GetDetailedNftStats.graphql +831 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +938 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +922 -0
- package/src/resources/generated_queries/GetEventLabels.graphql +24 -0
- package/src/resources/generated_queries/GetExchanges.graphql +12 -0
- package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
- package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
- package/src/resources/generated_queries/GetNetworkStats.graphql +13 -0
- package/src/resources/generated_queries/GetNetworkStatus.graphql +8 -0
- package/src/resources/generated_queries/GetNetworks.graphql +7 -0
- package/src/resources/generated_queries/GetNftAssets.graphql +59 -0
- package/src/resources/generated_queries/GetNftCollectionMetadata.graphql +75 -0
- package/src/resources/generated_queries/GetNftContracts.graphql +39 -0
- package/src/resources/generated_queries/GetNftEvents.graphql +54 -0
- package/src/resources/generated_queries/GetNftPool.graphql +74 -0
- package/src/resources/generated_queries/GetNftPoolCollection.graphql +33 -0
- package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +38 -0
- package/src/resources/generated_queries/GetNftPoolEvents.graphql +41 -0
- package/src/resources/generated_queries/GetNftPoolStats.graphql +40 -0
- package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +89 -0
- package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +89 -0
- package/src/resources/generated_queries/GetParallelAssets.graphql +50 -0
- package/src/resources/generated_queries/GetParallelCardChanges.graphql +57 -0
- package/src/resources/generated_queries/GetPrimePoolAssets.graphql +32 -0
- package/src/resources/generated_queries/GetPrimePoolEvents.graphql +38 -0
- package/src/resources/generated_queries/GetPrimePools.graphql +62 -0
- package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +128 -0
- package/src/resources/generated_queries/GetSymbol.graphql +11 -0
- package/src/resources/generated_queries/GetTokenCount.graphql +3 -0
- package/src/resources/generated_queries/GetTokenEvents.graphql +49 -0
- package/src/resources/generated_queries/GetTokenInfo.graphql +17 -0
- package/src/resources/generated_queries/GetTokenPrices.graphql +9 -0
- package/src/resources/generated_queries/GetTokensInfo.graphql +17 -0
- package/src/resources/generated_queries/GetUniV3Ticks.graphql +22 -0
- package/src/resources/generated_queries/GetWebhooks.graphql +36 -0
- package/src/resources/generated_queries/Holders.graphql +14 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +26 -0
- package/src/resources/generated_queries/LiquidityMetadata.graphql +17 -0
- package/src/resources/generated_queries/ListFavoriteTokens.graphql +58 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +141 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +282 -0
- package/src/resources/generated_queries/ListTopTokens.graphql +54 -0
- package/src/resources/generated_queries/NftHolders.graphql +12 -0
- package/src/resources/generated_queries/PairMetadata.graphql +73 -0
- package/src/resources/generated_queries/PrimeBalance.graphql +12 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +13 -0
- package/src/resources/generated_queries/SearchNfts.graphql +35 -0
- package/src/resources/generated_queries/Token.graphql +62 -0
- package/src/resources/generated_queries/TokenLifecycleEvents.graphql +22 -0
- package/src/resources/generated_queries/TokenSparklines.graphql +10 -0
- package/src/resources/generated_queries/Tokens.graphql +62 -0
- package/src/resources/generated_queries/WalletNftCollectionAssets.graphql +11 -0
- package/src/resources/generated_queries/WalletNftCollections.graphql +10 -0
- package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +513 -0
- package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +332 -0
- package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +46 -0
- package/src/resources/generated_subscriptions/OnLatestPairUpdated.graphql +42 -0
- package/src/resources/generated_subscriptions/OnLatestTokens.graphql +37 -0
- package/src/resources/generated_subscriptions/OnNftAssetsCreated.graphql +42 -0
- package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +36 -0
- package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +37 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +73 -0
- package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +9 -0
- package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +9 -0
- package/src/resources/generated_subscriptions/OnSimulateTokenContract.graphql +121 -0
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +39 -0
- package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +18 -0
- package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +32 -0
- package/src/resources/graphql.schema.json +1570 -0
- package/src/resources/graphql.ts +148 -0
- package/src/resources/schema.graphql +184 -0
- package/src/scripts/buildSdk.ts +173 -0
- package/src/scripts/generateGraphql.ts +236 -0
- package/src/sdk/Mutation.ts +13 -4
- package/src/sdk/Query.ts +252 -37
- package/src/sdk/Subscribe.ts +230 -41
- package/src/sdk/generated/gql.ts +354 -44
- package/src/sdk/generated/graphql.ts +889 -151
- package/dist/sdk/Query.test.d.ts +0 -2
- package/dist/sdk/Query.test.d.ts.map +0 -1
- package/dist/sdk/Query.test.js +0 -50
- package/dist/sdk/Query.test.js.map +0 -1
- package/src/sdk/Query.test.ts +0 -40
- package/src/sdk/graphql/CreateWebhooks.graphql +0 -464
- package/src/sdk/graphql/FilterExchanges.graphql +0 -23
- package/src/sdk/graphql/FilterPairs.graphql +0 -126
- package/src/sdk/graphql/FilterTokens.graphql +0 -131
- package/src/sdk/graphql/GetPrice.graphql +0 -9
- package/src/sdk/graphql/GetTokens.graphql +0 -14
- package/src/sdk/graphql/GetWebhooks.graphql +0 -120
- package/src/sdk/graphql/OnBarsUpdated.graphql +0 -68
- package/src/sdk/graphql/OnEventsCreated.graphql +0 -62
- package/src/sdk/graphql/OnNftEventsCreated.graphql +0 -83
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
query GetEventLabels(
|
|
2
|
+
$cursor: String
|
|
3
|
+
$direction: RankingDirection
|
|
4
|
+
$id: String!
|
|
5
|
+
$limit: Int
|
|
6
|
+
) {
|
|
7
|
+
getEventLabels(
|
|
8
|
+
cursor: $cursor
|
|
9
|
+
direction: $direction
|
|
10
|
+
id: $id
|
|
11
|
+
limit: $limit
|
|
12
|
+
) {
|
|
13
|
+
cursor
|
|
14
|
+
items {
|
|
15
|
+
id
|
|
16
|
+
label
|
|
17
|
+
logIndex
|
|
18
|
+
networkId
|
|
19
|
+
timestamp
|
|
20
|
+
transactionHash
|
|
21
|
+
transactionIndex
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
query GetLatestPairs(
|
|
2
|
+
$cursor: String
|
|
3
|
+
$exchangeFilter: [String!]
|
|
4
|
+
$limit: Int
|
|
5
|
+
$minLiquidityFilter: Int
|
|
6
|
+
$networkFilter: [Int!]
|
|
7
|
+
) {
|
|
8
|
+
getLatestPairs(
|
|
9
|
+
cursor: $cursor
|
|
10
|
+
exchangeFilter: $exchangeFilter
|
|
11
|
+
limit: $limit
|
|
12
|
+
minLiquidityFilter: $minLiquidityFilter
|
|
13
|
+
networkFilter: $networkFilter
|
|
14
|
+
) {
|
|
15
|
+
cursor
|
|
16
|
+
items {
|
|
17
|
+
address
|
|
18
|
+
exchangeHash
|
|
19
|
+
id
|
|
20
|
+
initialPriceUsd
|
|
21
|
+
liquidAt
|
|
22
|
+
liquidity
|
|
23
|
+
liquidityToken
|
|
24
|
+
networkId
|
|
25
|
+
newToken
|
|
26
|
+
nonLiquidityToken
|
|
27
|
+
oldToken
|
|
28
|
+
priceChange
|
|
29
|
+
priceUsd
|
|
30
|
+
token0 {
|
|
31
|
+
address
|
|
32
|
+
currentPoolAmount
|
|
33
|
+
decimals
|
|
34
|
+
id
|
|
35
|
+
initialPoolAmount
|
|
36
|
+
name
|
|
37
|
+
networkId
|
|
38
|
+
pairId
|
|
39
|
+
poolVariation
|
|
40
|
+
symbol
|
|
41
|
+
}
|
|
42
|
+
token1 {
|
|
43
|
+
address
|
|
44
|
+
currentPoolAmount
|
|
45
|
+
decimals
|
|
46
|
+
id
|
|
47
|
+
initialPoolAmount
|
|
48
|
+
name
|
|
49
|
+
networkId
|
|
50
|
+
pairId
|
|
51
|
+
poolVariation
|
|
52
|
+
symbol
|
|
53
|
+
}
|
|
54
|
+
transactionHash
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
query GetLatestTokens($limit: Int, $networkFilter: [Int!], $offset: Int) {
|
|
2
|
+
getLatestTokens(
|
|
3
|
+
limit: $limit
|
|
4
|
+
networkFilter: $networkFilter
|
|
5
|
+
offset: $offset
|
|
6
|
+
) {
|
|
7
|
+
items {
|
|
8
|
+
blockHash
|
|
9
|
+
blockNumber
|
|
10
|
+
creatorAddress
|
|
11
|
+
creatorBalance
|
|
12
|
+
decimals
|
|
13
|
+
id
|
|
14
|
+
networkId
|
|
15
|
+
simulationResults {
|
|
16
|
+
buyGasUsed
|
|
17
|
+
buySuccess
|
|
18
|
+
buyTax
|
|
19
|
+
canRenounceOwnership
|
|
20
|
+
canTransferOwnership
|
|
21
|
+
isOwnerRenounced
|
|
22
|
+
maxBuyAmount
|
|
23
|
+
maxSellAmount
|
|
24
|
+
openTradingCall
|
|
25
|
+
sellGasUsed
|
|
26
|
+
sellSuccess
|
|
27
|
+
sellTax
|
|
28
|
+
}
|
|
29
|
+
timeCreated
|
|
30
|
+
tokenAddress
|
|
31
|
+
tokenName
|
|
32
|
+
tokenSymbol
|
|
33
|
+
totalSupply
|
|
34
|
+
traceIndex
|
|
35
|
+
transactionHash
|
|
36
|
+
transactionIndex
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
query GetNetworkStats($exchangeAddress: String, $networkId: Int!) {
|
|
2
|
+
getNetworkStats(exchangeAddress: $exchangeAddress, networkId: $networkId) {
|
|
3
|
+
liquidity
|
|
4
|
+
transactions1
|
|
5
|
+
transactions4
|
|
6
|
+
transactions12
|
|
7
|
+
transactions24
|
|
8
|
+
volume1
|
|
9
|
+
volume4
|
|
10
|
+
volume12
|
|
11
|
+
volume24
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
query GetNftAssets(
|
|
2
|
+
$address: String!
|
|
3
|
+
$cursor: String
|
|
4
|
+
$fetchMissingAssets: Boolean
|
|
5
|
+
$limit: Int
|
|
6
|
+
$networkId: Int!
|
|
7
|
+
$tokenIds: [String]
|
|
8
|
+
) {
|
|
9
|
+
getNftAssets(
|
|
10
|
+
address: $address
|
|
11
|
+
cursor: $cursor
|
|
12
|
+
fetchMissingAssets: $fetchMissingAssets
|
|
13
|
+
limit: $limit
|
|
14
|
+
networkId: $networkId
|
|
15
|
+
tokenIds: $tokenIds
|
|
16
|
+
) {
|
|
17
|
+
cursor
|
|
18
|
+
itemErrors {
|
|
19
|
+
address
|
|
20
|
+
id
|
|
21
|
+
message
|
|
22
|
+
networkId
|
|
23
|
+
status
|
|
24
|
+
tokenId
|
|
25
|
+
}
|
|
26
|
+
items {
|
|
27
|
+
address
|
|
28
|
+
attributes {
|
|
29
|
+
class
|
|
30
|
+
css
|
|
31
|
+
displayType
|
|
32
|
+
maxValue
|
|
33
|
+
name
|
|
34
|
+
value
|
|
35
|
+
valueType
|
|
36
|
+
}
|
|
37
|
+
description
|
|
38
|
+
id
|
|
39
|
+
media {
|
|
40
|
+
image
|
|
41
|
+
processed
|
|
42
|
+
thumbLg
|
|
43
|
+
thumbSm
|
|
44
|
+
}
|
|
45
|
+
name
|
|
46
|
+
networkId
|
|
47
|
+
originalImage
|
|
48
|
+
quantity
|
|
49
|
+
rawAssetData {
|
|
50
|
+
animationUrl
|
|
51
|
+
externalUrl
|
|
52
|
+
imageData
|
|
53
|
+
imageUrl
|
|
54
|
+
}
|
|
55
|
+
tokenId
|
|
56
|
+
uri
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
query GetNftCollectionMetadata(
|
|
2
|
+
$address: String
|
|
3
|
+
$collectionId: String
|
|
4
|
+
$networkId: Int
|
|
5
|
+
) {
|
|
6
|
+
getNftCollectionMetadata(
|
|
7
|
+
address: $address
|
|
8
|
+
collectionId: $collectionId
|
|
9
|
+
networkId: $networkId
|
|
10
|
+
) {
|
|
11
|
+
contract {
|
|
12
|
+
address
|
|
13
|
+
description
|
|
14
|
+
ercType
|
|
15
|
+
id
|
|
16
|
+
image
|
|
17
|
+
name
|
|
18
|
+
networkId
|
|
19
|
+
symbol
|
|
20
|
+
totalSupply
|
|
21
|
+
}
|
|
22
|
+
id
|
|
23
|
+
media {
|
|
24
|
+
image
|
|
25
|
+
processed
|
|
26
|
+
thumbLg
|
|
27
|
+
thumbSm
|
|
28
|
+
}
|
|
29
|
+
stats {
|
|
30
|
+
networkBaseTokenPriceStats {
|
|
31
|
+
average
|
|
32
|
+
averageChange
|
|
33
|
+
ceiling
|
|
34
|
+
ceilingChange
|
|
35
|
+
floor
|
|
36
|
+
floorChange
|
|
37
|
+
volume
|
|
38
|
+
volumeByFillsource {
|
|
39
|
+
amount
|
|
40
|
+
change
|
|
41
|
+
fillsource
|
|
42
|
+
}
|
|
43
|
+
volumeChange
|
|
44
|
+
volumePercentByFillsource {
|
|
45
|
+
amount
|
|
46
|
+
change
|
|
47
|
+
fillsource
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
tradeCount
|
|
51
|
+
tradeCountChange
|
|
52
|
+
usdPriceStats {
|
|
53
|
+
average
|
|
54
|
+
averageChange
|
|
55
|
+
ceiling
|
|
56
|
+
ceilingChange
|
|
57
|
+
floor
|
|
58
|
+
floorChange
|
|
59
|
+
volume
|
|
60
|
+
volumeByFillsource {
|
|
61
|
+
amount
|
|
62
|
+
change
|
|
63
|
+
fillsource
|
|
64
|
+
}
|
|
65
|
+
volumeChange
|
|
66
|
+
volumePercentByFillsource {
|
|
67
|
+
amount
|
|
68
|
+
change
|
|
69
|
+
fillsource
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
window
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
query GetNftContracts($contracts: [NftContractInput]) {
|
|
2
|
+
getNftContracts(contracts: $contracts) {
|
|
3
|
+
address
|
|
4
|
+
description
|
|
5
|
+
ercType
|
|
6
|
+
id
|
|
7
|
+
image
|
|
8
|
+
labels {
|
|
9
|
+
createdAt
|
|
10
|
+
subType
|
|
11
|
+
type
|
|
12
|
+
}
|
|
13
|
+
name
|
|
14
|
+
networkId
|
|
15
|
+
socialLinks {
|
|
16
|
+
bitcointalk
|
|
17
|
+
blog
|
|
18
|
+
coingecko
|
|
19
|
+
coinmarketcap
|
|
20
|
+
discord
|
|
21
|
+
email
|
|
22
|
+
facebook
|
|
23
|
+
github
|
|
24
|
+
instagram
|
|
25
|
+
linkedin
|
|
26
|
+
reddit
|
|
27
|
+
slack
|
|
28
|
+
telegram
|
|
29
|
+
twitch
|
|
30
|
+
twitter
|
|
31
|
+
website
|
|
32
|
+
wechat
|
|
33
|
+
whitepaper
|
|
34
|
+
youtube
|
|
35
|
+
}
|
|
36
|
+
symbol
|
|
37
|
+
totalSupply
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
query GetNftEvents(
|
|
2
|
+
$address: String
|
|
3
|
+
$cursor: String
|
|
4
|
+
$exchangeAddress: String
|
|
5
|
+
$includeTransfers: Boolean
|
|
6
|
+
$limit: Int
|
|
7
|
+
$networkId: Int!
|
|
8
|
+
$poolAddress: String
|
|
9
|
+
$timestamp: EventQueryTimestampInput
|
|
10
|
+
$tokenId: String
|
|
11
|
+
) {
|
|
12
|
+
getNftEvents(
|
|
13
|
+
address: $address
|
|
14
|
+
cursor: $cursor
|
|
15
|
+
exchangeAddress: $exchangeAddress
|
|
16
|
+
includeTransfers: $includeTransfers
|
|
17
|
+
limit: $limit
|
|
18
|
+
networkId: $networkId
|
|
19
|
+
poolAddress: $poolAddress
|
|
20
|
+
timestamp: $timestamp
|
|
21
|
+
tokenId: $tokenId
|
|
22
|
+
) {
|
|
23
|
+
cursor
|
|
24
|
+
items {
|
|
25
|
+
aggregatorAddress
|
|
26
|
+
blockNumber
|
|
27
|
+
contractAddress
|
|
28
|
+
eventType
|
|
29
|
+
exchangeAddress
|
|
30
|
+
fillSource
|
|
31
|
+
id
|
|
32
|
+
individualPriceNetworkBaseToken
|
|
33
|
+
individualPriceUsd
|
|
34
|
+
individualTradePrice
|
|
35
|
+
logIndex
|
|
36
|
+
maker
|
|
37
|
+
networkId
|
|
38
|
+
numberOfTokens
|
|
39
|
+
orderDirection
|
|
40
|
+
paymentTokenAddress
|
|
41
|
+
poolAddress
|
|
42
|
+
priceError
|
|
43
|
+
sortKey
|
|
44
|
+
taker
|
|
45
|
+
timestamp
|
|
46
|
+
tokenId
|
|
47
|
+
totalPriceNetworkBaseToken
|
|
48
|
+
totalPriceUsd
|
|
49
|
+
totalTradePrice
|
|
50
|
+
transactionHash
|
|
51
|
+
transactionIndex
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
query GetNftPool($address: String!, $networkId: Int!) {
|
|
2
|
+
getNftPool(address: $address, networkId: $networkId) {
|
|
3
|
+
acceptedNftTokenIds
|
|
4
|
+
assetRecipientAddress
|
|
5
|
+
balanceNBT
|
|
6
|
+
balanceT
|
|
7
|
+
bondingCurveAddress
|
|
8
|
+
bondingCurveType
|
|
9
|
+
collectionAddress
|
|
10
|
+
collectionName
|
|
11
|
+
collectionSymbol
|
|
12
|
+
delta
|
|
13
|
+
exchangeAddress
|
|
14
|
+
fee
|
|
15
|
+
floorNBT
|
|
16
|
+
floorT
|
|
17
|
+
networkId
|
|
18
|
+
nftAssets {
|
|
19
|
+
address
|
|
20
|
+
attributes {
|
|
21
|
+
class
|
|
22
|
+
css
|
|
23
|
+
displayType
|
|
24
|
+
maxValue
|
|
25
|
+
name
|
|
26
|
+
value
|
|
27
|
+
valueType
|
|
28
|
+
}
|
|
29
|
+
description
|
|
30
|
+
id
|
|
31
|
+
media {
|
|
32
|
+
image
|
|
33
|
+
processed
|
|
34
|
+
thumbLg
|
|
35
|
+
thumbSm
|
|
36
|
+
}
|
|
37
|
+
name
|
|
38
|
+
networkId
|
|
39
|
+
originalImage
|
|
40
|
+
quantity
|
|
41
|
+
rawAssetData {
|
|
42
|
+
animationUrl
|
|
43
|
+
externalUrl
|
|
44
|
+
imageData
|
|
45
|
+
imageUrl
|
|
46
|
+
}
|
|
47
|
+
tokenId
|
|
48
|
+
uri
|
|
49
|
+
}
|
|
50
|
+
nftBalanceV2
|
|
51
|
+
nftVolumeAllTimeV2
|
|
52
|
+
offerNBT
|
|
53
|
+
offerT
|
|
54
|
+
owner
|
|
55
|
+
poolAddress
|
|
56
|
+
poolFeesAllTimeNBT
|
|
57
|
+
poolFeesAllTimeT
|
|
58
|
+
poolId
|
|
59
|
+
poolNftType
|
|
60
|
+
poolType
|
|
61
|
+
poolVariant
|
|
62
|
+
propertyChecker
|
|
63
|
+
royalties {
|
|
64
|
+
percent
|
|
65
|
+
recipient
|
|
66
|
+
}
|
|
67
|
+
spotPriceNBT
|
|
68
|
+
spotPriceT
|
|
69
|
+
tokenAddress
|
|
70
|
+
version
|
|
71
|
+
volumeAllTimeNBT
|
|
72
|
+
volumeAllTimeT
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
query GetNftPoolCollection(
|
|
2
|
+
$collectionAddress: String!
|
|
3
|
+
$exchangeAddress: String!
|
|
4
|
+
$networkId: Int!
|
|
5
|
+
) {
|
|
6
|
+
getNftPoolCollection(
|
|
7
|
+
collectionAddress: $collectionAddress
|
|
8
|
+
exchangeAddress: $exchangeAddress
|
|
9
|
+
networkId: $networkId
|
|
10
|
+
) {
|
|
11
|
+
balanceNBT
|
|
12
|
+
collectionAddress
|
|
13
|
+
collectionId
|
|
14
|
+
collectionSymbol
|
|
15
|
+
exchangeAddress
|
|
16
|
+
exchangeId
|
|
17
|
+
floorNBT
|
|
18
|
+
image
|
|
19
|
+
name
|
|
20
|
+
networkId
|
|
21
|
+
nftBalanceV2
|
|
22
|
+
nftVolumeAllTimeV2
|
|
23
|
+
offerNBT
|
|
24
|
+
poolFeesNBTAll
|
|
25
|
+
poolFeesUSDAll
|
|
26
|
+
protocolFeesNBTAll
|
|
27
|
+
protocolFeesUSDAll
|
|
28
|
+
royaltiesNBTAllEstimate
|
|
29
|
+
royaltiesUSDAllEstimate
|
|
30
|
+
volumeAllTimeNBT
|
|
31
|
+
volumeAllTimeUSD
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
query GetNftPoolCollectionsByExchange(
|
|
2
|
+
$cursor: String
|
|
3
|
+
$exchangeAddress: String!
|
|
4
|
+
$limit: Int
|
|
5
|
+
$networkId: Int!
|
|
6
|
+
) {
|
|
7
|
+
getNftPoolCollectionsByExchange(
|
|
8
|
+
cursor: $cursor
|
|
9
|
+
exchangeAddress: $exchangeAddress
|
|
10
|
+
limit: $limit
|
|
11
|
+
networkId: $networkId
|
|
12
|
+
) {
|
|
13
|
+
cursor
|
|
14
|
+
items {
|
|
15
|
+
balanceNBT
|
|
16
|
+
collectionAddress
|
|
17
|
+
collectionId
|
|
18
|
+
collectionSymbol
|
|
19
|
+
exchangeAddress
|
|
20
|
+
exchangeId
|
|
21
|
+
floorNBT
|
|
22
|
+
image
|
|
23
|
+
name
|
|
24
|
+
networkId
|
|
25
|
+
nftBalanceV2
|
|
26
|
+
nftVolumeAllTimeV2
|
|
27
|
+
offerNBT
|
|
28
|
+
poolFeesNBTAll
|
|
29
|
+
poolFeesUSDAll
|
|
30
|
+
protocolFeesNBTAll
|
|
31
|
+
protocolFeesUSDAll
|
|
32
|
+
royaltiesNBTAllEstimate
|
|
33
|
+
royaltiesUSDAllEstimate
|
|
34
|
+
volumeAllTimeNBT
|
|
35
|
+
volumeAllTimeUSD
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
query GetNftPoolEvents(
|
|
2
|
+
$collectionAddress: String
|
|
3
|
+
$cursor: String
|
|
4
|
+
$eventTypes: [NftPoolEventType!]
|
|
5
|
+
$exchangeAddress: String
|
|
6
|
+
$limit: Int
|
|
7
|
+
$networkId: Int!
|
|
8
|
+
$poolAddress: String
|
|
9
|
+
$timestamp: EventQueryTimestampInput
|
|
10
|
+
) {
|
|
11
|
+
getNftPoolEvents(
|
|
12
|
+
collectionAddress: $collectionAddress
|
|
13
|
+
cursor: $cursor
|
|
14
|
+
eventTypes: $eventTypes
|
|
15
|
+
exchangeAddress: $exchangeAddress
|
|
16
|
+
limit: $limit
|
|
17
|
+
networkId: $networkId
|
|
18
|
+
poolAddress: $poolAddress
|
|
19
|
+
timestamp: $timestamp
|
|
20
|
+
) {
|
|
21
|
+
cursor
|
|
22
|
+
items {
|
|
23
|
+
blockHash
|
|
24
|
+
blockNumber
|
|
25
|
+
collectionAddress
|
|
26
|
+
collectionId
|
|
27
|
+
eventType
|
|
28
|
+
exchangeAddress
|
|
29
|
+
id
|
|
30
|
+
logIndex
|
|
31
|
+
maker
|
|
32
|
+
networkId
|
|
33
|
+
poolAddress
|
|
34
|
+
poolType
|
|
35
|
+
timestamp
|
|
36
|
+
tokenAddress
|
|
37
|
+
transactionHash
|
|
38
|
+
transactionIndex
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
query GetNftPoolStats(
|
|
2
|
+
$collectionAddress: String!
|
|
3
|
+
$endTime: Int!
|
|
4
|
+
$exchangeAddress: String!
|
|
5
|
+
$networkId: Int!
|
|
6
|
+
$poolAddress: String
|
|
7
|
+
$startTime: Int!
|
|
8
|
+
) {
|
|
9
|
+
getNftPoolStats(
|
|
10
|
+
collectionAddress: $collectionAddress
|
|
11
|
+
endTime: $endTime
|
|
12
|
+
exchangeAddress: $exchangeAddress
|
|
13
|
+
networkId: $networkId
|
|
14
|
+
poolAddress: $poolAddress
|
|
15
|
+
startTime: $startTime
|
|
16
|
+
) {
|
|
17
|
+
closeBalanceNBT
|
|
18
|
+
closeNftBalanceV2
|
|
19
|
+
collectionAddress
|
|
20
|
+
endTime
|
|
21
|
+
exchangeAddress
|
|
22
|
+
expenseNBT
|
|
23
|
+
highFloorNBT
|
|
24
|
+
highOfferNBT
|
|
25
|
+
lowFloorNBT
|
|
26
|
+
lowOfferNBT
|
|
27
|
+
networkId
|
|
28
|
+
nftVolumeV2
|
|
29
|
+
nftsBoughtV2
|
|
30
|
+
nftsSoldV2
|
|
31
|
+
openBalanceNBT
|
|
32
|
+
openNftBalanceV2
|
|
33
|
+
poolAddress
|
|
34
|
+
poolFeesNBT
|
|
35
|
+
protocolFeesNBT
|
|
36
|
+
revenueNBT
|
|
37
|
+
startTime
|
|
38
|
+
volumeNBT
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
query GetNftPoolsByCollectionAndExchange(
|
|
2
|
+
$collectionAddress: String!
|
|
3
|
+
$cursor: String
|
|
4
|
+
$exchangeAddress: String!
|
|
5
|
+
$limit: Int
|
|
6
|
+
$networkId: Int!
|
|
7
|
+
) {
|
|
8
|
+
getNftPoolsByCollectionAndExchange(
|
|
9
|
+
collectionAddress: $collectionAddress
|
|
10
|
+
cursor: $cursor
|
|
11
|
+
exchangeAddress: $exchangeAddress
|
|
12
|
+
limit: $limit
|
|
13
|
+
networkId: $networkId
|
|
14
|
+
) {
|
|
15
|
+
cursor
|
|
16
|
+
items {
|
|
17
|
+
acceptedNftTokenIds
|
|
18
|
+
assetRecipientAddress
|
|
19
|
+
balanceNBT
|
|
20
|
+
balanceT
|
|
21
|
+
bondingCurveAddress
|
|
22
|
+
bondingCurveType
|
|
23
|
+
collectionAddress
|
|
24
|
+
collectionName
|
|
25
|
+
collectionSymbol
|
|
26
|
+
delta
|
|
27
|
+
exchangeAddress
|
|
28
|
+
fee
|
|
29
|
+
floorNBT
|
|
30
|
+
floorT
|
|
31
|
+
networkId
|
|
32
|
+
nftAssets {
|
|
33
|
+
address
|
|
34
|
+
attributes {
|
|
35
|
+
class
|
|
36
|
+
css
|
|
37
|
+
displayType
|
|
38
|
+
maxValue
|
|
39
|
+
name
|
|
40
|
+
value
|
|
41
|
+
valueType
|
|
42
|
+
}
|
|
43
|
+
description
|
|
44
|
+
id
|
|
45
|
+
media {
|
|
46
|
+
image
|
|
47
|
+
processed
|
|
48
|
+
thumbLg
|
|
49
|
+
thumbSm
|
|
50
|
+
}
|
|
51
|
+
name
|
|
52
|
+
networkId
|
|
53
|
+
originalImage
|
|
54
|
+
quantity
|
|
55
|
+
rawAssetData {
|
|
56
|
+
animationUrl
|
|
57
|
+
externalUrl
|
|
58
|
+
imageData
|
|
59
|
+
imageUrl
|
|
60
|
+
}
|
|
61
|
+
tokenId
|
|
62
|
+
uri
|
|
63
|
+
}
|
|
64
|
+
nftBalanceV2
|
|
65
|
+
nftVolumeAllTimeV2
|
|
66
|
+
offerNBT
|
|
67
|
+
offerT
|
|
68
|
+
owner
|
|
69
|
+
poolAddress
|
|
70
|
+
poolFeesAllTimeNBT
|
|
71
|
+
poolFeesAllTimeT
|
|
72
|
+
poolId
|
|
73
|
+
poolNftType
|
|
74
|
+
poolType
|
|
75
|
+
poolVariant
|
|
76
|
+
propertyChecker
|
|
77
|
+
royalties {
|
|
78
|
+
percent
|
|
79
|
+
recipient
|
|
80
|
+
}
|
|
81
|
+
spotPriceNBT
|
|
82
|
+
spotPriceT
|
|
83
|
+
tokenAddress
|
|
84
|
+
version
|
|
85
|
+
volumeAllTimeNBT
|
|
86
|
+
volumeAllTimeT
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|