Skip to content

Conversation

@jinoosss
Copy link
Member

What type of PR is this?

  • feature

What this PR does:

This PR migrates the existing API endpoints to the new Onbloc API structure. The changes include updating transaction history repositories, token-related endpoints, and response handling.

Changes

  • Split TransactionHistoryRepository into TransactionHistoryApiRepository and TransactionHistoryIndexerRepository
  • Update token-related API endpoints and response handling
  • Modify transaction history pagination logic
  • Update GRC20 and GRC721 token fetching logic

Technical Details

Transaction History

  • Implemented new repository structure to support both API and Indexer-based transaction history
  • Updated pagination logic to handle new API response format
  • Modified transaction time fetching logic to support both API types

Token Management

  • Updated GRC20 token fetching to use new /v1/token-meta endpoint
  • Modified GRC721 collection fetching to use the same endpoint
  • Updated transfer package fetching to use new account endpoint

@jinoosss jinoosss requested a review from a team as a code owner May 19, 2025 11:22
@jinoosss jinoosss requested review from dongwon8247 and tfrg May 19, 2025 11:22
@jinoosss jinoosss changed the title ADN-712-feat-migrate-onbloc-api feat: migrate onbloc API May 19, 2025
@jinoosss
Copy link
Member Author

Merges after changing the API domain.

@jinoosss jinoosss force-pushed the ADN-712-feat-migrate-onbloc-api branch 2 times, most recently from 7e40943 to 903ae66 Compare May 22, 2025 06:48
@jinoosss jinoosss force-pushed the ADN-712-feat-migrate-onbloc-api branch from 903ae66 to c20fb22 Compare May 22, 2025 07:32
@jinoosss jinoosss force-pushed the ADN-712-feat-migrate-onbloc-api branch from 4d140ea to 8106bcd Compare May 22, 2025 09:05
@jinoosss jinoosss merged commit 2792a2e into main May 22, 2025
2 checks passed
@jinoosss jinoosss deleted the ADN-712-feat-migrate-onbloc-api branch May 22, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants