Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSPT-454 Added Chainspot adapter #1756

Merged
merged 3 commits into from
Aug 21, 2024
Merged

CSPT-454 Added Chainspot adapter #1756

merged 3 commits into from
Aug 21, 2024

Conversation

GotFly
Copy link
Contributor

@GotFly GotFly commented Aug 8, 2024

New Chainspot Router PR

@llamatester
Copy link

The chainspot adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts aggregators chainspot

🦙 Running CHAINSPOT adapter 🦙
---------------------------------------------------
Start Date:	Wed, 07 Aug 2024 00:00:00 GMT
End Date:	Thu, 08 Aug 2024 00:00:00 GMT
---------------------------------------------------

error fetching block [Error: Llama RPC error! methos: undefined 
- host: https://oktc-mainnet.public.blastapi.io error: Cannot read properties of null (reading 'number')
- host: https://exchainrpc.okex.org error: Cannot read properties of null (reading 'number')
- host: https://1rpc.io/oktc error: Cannot read properties of null (reading 'number')] {
  _underlyingError: '[object Object]',
  _isCustomError: true
}
error fetching block [Error: Llama RPC error! methos: undefined 
- host: https://1rpc.io/oktc error: Cannot read properties of null (reading 'number')
- host: https://exchainrpc.okex.org error: Cannot read properties of null (reading 'number')
- host: https://oktc-mainnet.public.blastapi.io error: Cannot read properties of null (reading 'number')] {
  _underlyingError: '[object Object]',
  _isCustomError: true
}
ETHEREUM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


POLYGON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


BSC 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


AVAX 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


OPTIMISM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


FANTOM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


ARBITRUM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


AURORA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


CELO 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


BOBA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


XDAI 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


TELOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


BASE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


LINEA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


MANTLE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


MOONBEAM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


CRONOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


BLAST 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


EVMOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


FUSE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


HARMONY 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


KAVA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


MOONRIVER 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


OKEXCHAIN 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


SCROLL 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


TRON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


TON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


WAN 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


ZKLINK 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)


ZKSYNC 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1722988800 (2024-08-07T00:00:00.000Z)

@dtmkeng
Copy link
Contributor

dtmkeng commented Aug 9, 2024

could you check why dailyVolume is undefined

@GotFly
Copy link
Contributor Author

GotFly commented Aug 9, 2024

Hey, @dtmkeng . Im checking my api method (https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=56&timestamp=1721167200000) - everything is fine with it. Could you tell me what Im doing wrong, please?

@dtmkeng
Copy link
Contributor

dtmkeng commented Aug 9, 2024

Hey, @dtmkeng . Im checking my api method (https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=56&timestamp=1721167200000) - everything is fine with it. Could you tell me what Im doing wrong, please?

test result above does not have result

@GotFly
Copy link
Contributor Author

GotFly commented Aug 9, 2024

@dtmkeng Im having test results
image

@llamatester
Copy link

The chainspot adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts aggregators chainspot

🦙 Running CHAINSPOT adapter 🦙
---------------------------------------------------
Start Date:	Thu, 08 Aug 2024 00:00:00 GMT
End Date:	Fri, 09 Aug 2024 00:00:00 GMT
---------------------------------------------------

error fetching block [Error: Llama RPC error! methos: undefined 
- host: https://oktc-mainnet.public.blastapi.io error: Cannot read properties of null (reading 'number')
- host: https://exchainrpc.okex.org error: Cannot read properties of null (reading 'number')
- host: https://1rpc.io/oktc error: Cannot read properties of null (reading 'number')] {
  _underlyingError: '[object Object]',
  _isCustomError: true
}
error fetching block [Error: Llama RPC error! methos: undefined 
- host: https://oktc-mainnet.public.blastapi.io error: Cannot read properties of null (reading 'number')
- host: https://exchainrpc.okex.org error: Cannot read properties of null (reading 'number')
- host: https://1rpc.io/oktc error: Cannot read properties of null (reading 'number')] {
  _underlyingError: '[object Object]',
  _isCustomError: true
}
ETHEREUM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


POLYGON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


BSC 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


AVAX 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


OPTIMISM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


FANTOM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


ARBITRUM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


AURORA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


CELO 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


BOBA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


XDAI 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


TELOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


BASE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


LINEA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


MANTLE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


MOONBEAM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


CRONOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


BLAST 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


EVMOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


FUSE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


HARMONY 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


KAVA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


MOONRIVER 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


OKEXCHAIN 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


SCROLL 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


TRON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


TON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


WAN 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


ZKLINK 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)


ZKSYNC 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723075200 (2024-08-08T00:00:00.000Z)

@GotFly
Copy link
Contributor Author

GotFly commented Aug 16, 2024

@dtmkeng @llamatester hey. What we can do for fixed this issue? Local tests is ok

@llamatester
Copy link

The chainspot adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts aggregators chainspot

🦙 Running CHAINSPOT adapter 🦙
---------------------------------------------------
Start Date:	Thu, 15 Aug 2024 00:00:00 GMT
End Date:	Fri, 16 Aug 2024 00:00:00 GMT
---------------------------------------------------

error fetching block [Error: Llama RPC error! methos: undefined 
- host: https://oktc-mainnet.public.blastapi.io error: Cannot read properties of null (reading 'number')
- host: https://exchainrpc.okex.org error: Cannot read properties of null (reading 'number')
- host: https://1rpc.io/oktc error: Cannot read properties of null (reading 'number')] {
  _underlyingError: '[object Object]',
  _isCustomError: true
}
error fetching block [Error: Llama RPC error! methos: undefined 
- host: https://oktc-mainnet.public.blastapi.io error: Cannot read properties of null (reading 'number')
- host: https://exchainrpc.okex.org error: Cannot read properties of null (reading 'number')
- host: https://1rpc.io/oktc error: Cannot read properties of null (reading 'number')] {
  _underlyingError: '[object Object]',
  _isCustomError: true
}
ETHEREUM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


POLYGON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


BSC 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


AVAX 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


OPTIMISM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


FANTOM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


ARBITRUM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


AURORA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


CELO 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


BOBA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


XDAI 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


TELOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


BASE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


LINEA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


MANTLE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


MOONBEAM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


CRONOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


BLAST 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


EVMOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


FUSE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


HARMONY 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


KAVA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


MOONRIVER 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


OKEXCHAIN 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


SCROLL 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


TRON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


TON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


WAN 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


ZKLINK 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


ZKSYNC 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)

@llamatester
Copy link

The chainspot adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts aggregators chainspot

🦙 Running CHAINSPOT adapter 🦙
---------------------------------------------------
Start Date:	Thu, 15 Aug 2024 00:00:00 GMT
End Date:	Fri, 16 Aug 2024 00:00:00 GMT
---------------------------------------------------

error fetching block [Error: Llama RPC error! methos: undefined 
- host: https://oktc-mainnet.public.blastapi.io error: Cannot read properties of null (reading 'number')
- host: https://exchainrpc.okex.org error: Cannot read properties of null (reading 'number')
- host: https://1rpc.io/oktc error: Cannot read properties of null (reading 'number')] {
  _underlyingError: '[object Object]',
  _isCustomError: true
}
error fetching block [Error: Llama RPC error! methos: undefined 
- host: https://oktc-mainnet.public.blastapi.io error: Cannot read properties of null (reading 'number')
- host: https://exchainrpc.okex.org error: Cannot read properties of null (reading 'number')
- host: https://1rpc.io/oktc error: Cannot read properties of null (reading 'number')] {
  _underlyingError: '[object Object]',
  _isCustomError: true
}
ETHEREUM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


POLYGON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


BSC 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


AVAX 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


OPTIMISM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


FANTOM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


ARBITRUM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


AURORA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


CELO 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


BOBA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


XDAI 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


TELOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


BASE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


LINEA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


MANTLE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


MOONBEAM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


CRONOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


BLAST 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


EVMOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


FUSE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


HARMONY 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


KAVA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


MOONRIVER 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


OKEXCHAIN 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


SCROLL 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


TRON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


TON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


WAN 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


ZKLINK 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)


ZKSYNC 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1723680000 (2024-08-15T00:00:00.000Z)

@dtmkeng
Copy link
Contributor

dtmkeng commented Aug 16, 2024

i can list but volume still 0 all chain

@GotFly
Copy link
Contributor Author

GotFly commented Aug 18, 2024

@dtmkeng how it can be if local tests is ok? Where are problems?

@dtmkeng
Copy link
Contributor

dtmkeng commented Aug 19, 2024

@dtmkeng how it can be if local tests is ok? Where are problems?

i run at my local still 0 all chain with timestamp you run at local

@GotFly
Copy link
Contributor Author

GotFly commented Aug 21, 2024

@dtmkeng I see that you have Daily volume in results now. For current timestamp it was 0, yes, but for different dates it will be > 0. For example: https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=56&timestamp=1721167200000 - this timestamp for BSC chain will return 130.35 volume.

@dtmkeng
Copy link
Contributor

dtmkeng commented Aug 21, 2024

i tested
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=728126428&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=-239&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=56&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=1313161554&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=5000&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=250&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=8453&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=100&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=81457&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=9001&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=122&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=324&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=534352&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=1285&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=1284&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=1&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=43114&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=42161&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=288&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=810180&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=42220&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=25&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=10&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=888&timestamp=1724112000000
https://app.chainspot.io/api/2.0/statistic/daily-volume?chainId=137&timestamp=1724112000000
all URL is return 942.99

@llamatester
Copy link

The chainspot adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts aggregators chainspot

🦙 Running CHAINSPOT adapter 🦙
---------------------------------------------------
Start Date:	Tue, 20 Aug 2024 00:00:00 GMT
End Date:	Wed, 21 Aug 2024 00:00:00 GMT
---------------------------------------------------

error fetching block [Error: Llama RPC error! methos: undefined 
- host: https://oktc-mainnet.public.blastapi.io error: Cannot read properties of null (reading 'number')
- host: https://exchainrpc.okex.org error: Cannot read properties of null (reading 'number')
- host: https://1rpc.io/oktc error: Request failed with status code 429
- host: https://oktc.drpc.org error: Cannot read properties of null (reading 'number')] {
  _underlyingError: '[object Object]',
  _isCustomError: true
}
error fetching block [Error: Llama RPC error! methos: undefined 
- host: https://oktc-mainnet.public.blastapi.io error: Cannot read properties of null (reading 'number')
- host: https://exchainrpc.okex.org error: Cannot read properties of null (reading 'number')
- host: https://oktc.drpc.org error: Cannot read properties of null (reading 'number')
- host: https://1rpc.io/oktc error: Request failed with status code 429] {
  _underlyingError: '[object Object]',
  _isCustomError: true
}
ETHEREUM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


POLYGON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


BSC 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


AVAX 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


OPTIMISM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


FANTOM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


ARBITRUM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


AURORA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


CELO 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


BOBA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


XDAI 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


TELOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


BASE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


LINEA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


MANTLE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


MOONBEAM 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


CRONOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


BLAST 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


EVMOS 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


FUSE 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


HARMONY 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


KAVA 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


MOONRIVER 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


OKEXCHAIN 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


SCROLL 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


TRON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


TON 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


WAN 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


ZKLINK 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)


ZKSYNC 👇
Backfill start time: 1/1/2024
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1724112000 (2024-08-20T00:00:00.000Z)

@GotFly
Copy link
Contributor Author

GotFly commented Aug 21, 2024

@dtmkeng yep, you are right, its our mistake. We fixed it already

@dtmkeng dtmkeng merged commit fac5a4a into DefiLlama:master Aug 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants