Overview
A Compute unit (CU) is a measure of the computational resources required to generate a response from a given API endpoint. Each of nxyz's API methods is assigned a price denominated in quantity of compute units, which is used in billing calculations.
Pricing on compute units allows us to provide developers with the most transparent pricing possible, so developers only pay for what they use.
Dynamic pricing
Please note that some endpoints are priced in terms of the number of input items included in the request. For example, the cost of calling a batch endpoint is the base CU cost multiplied by the number of items requested in the batch.
For multi-chain requests (i.e., bundling multiple chains into a single call), the CU cost of the query is multiplied by the number of chains included in the request.
Compute unit table
Balances
Name | Compute units |
---|---|
Get fungible token balances | 10 |
Get NFT balances | 15 |
Get NFT collection balances | 15 |
Get allowances | 5 |
Has NFTs in a collection | 1 |
Has NFT | 1 |
Transactions
Name | Compute units |
---|---|
Get transactions | 10 |
(+) includeInput | 5 |
Get transaction by hash | 1 |
(+) includeInput | 1 |
NFTs
Name | Compute units |
---|---|
Get NFT | 2 |
Get NFTs by collection | 15 |
Get batch NFTs (per NFT) | 2 |
Search NFTs | 15 |
Get NFT transfers | 15 |
Get collection transactions | 15 |
Get collection metadata | 5 |
Get collection holders | 15 |
Get token holders | 10 |
Token refresh (PUT) | 1 |
Token refresh (GET) | 1 |
Fungible tokens
Name | Compute units |
---|---|
Get fungible token metadata | 1 |
Get batch fungible token metadata (per token) | 1 |
General endpoints
Name | Compute units |
---|---|
Search | 15 |
Autocomplete collections | 3 |
Autocomplete wallets | 3 |
Autocomplete fungible | 3 |
Get blockchains | 0 |
Webhooks
Name | Compute units |
---|---|
Per record streamed | 1 |
Rest endpoints to create / manage webhooks | 1 |
Protocol endpoints
Name | Compute units |
---|---|
Uniswap v2 | 15 |
Uniswap v3 | 15 |
Errors
Name | Compute units |
---|---|
429 | 0 |
404 | 1 |
5xx | 0 |