Skip to content
  1. Oct 02, 2023
    • Cameron Marshall's avatar
      feat: add blocks raw extrinsics endpoint (#1334) · f486aa94
      Cameron Marshall authored
      * add fetchBlockRaw to block service
      
      * add unit test
      update latest e2e tests
      
      * feat: add endpoint that queries a block by hash and returns it along with the raw values of its extrinsic(s)
      
      * build docs
      
      * update inline doc
      
      * update number to 0xstring
      
      * update BlockRaw docs summary and description
      
      * update schema pattern
      
      * update docs
      f486aa94
  2. Sep 27, 2023
  3. Sep 11, 2023
  4. Sep 08, 2023
    • Dominique's avatar
      feat: add pallets/foreign-assets endpoint (#1314) · 450c6ead
      Dominique authored
      * feat: add pallets/foreign-assets endpoint
      - add controller, service & reponse type for foreign assets
      - update chain-config
      - update docs
      
      * fix: remove `asset-info` from endpoint & fix docs
      - In /pallets/foreign-assets/ endpoint removed `asset-info` since it is not necessary.
      - In the docs removed the array notation from the `200` response of multiple endpoints (including foreign assets) since there is no outer array in the result.
      
      * add name & symbol in human readable format
      - Added in the response the asset's name & symbol in human readable format.
      
      * Refactored the code that retrieves the metadata of the foreign asset
      - Retrieved metadata based on MultiLocation key obtained by asset info entries
      - Changed types in IForeignAssetInfo
      
      * test: added test & mock data
      - Added a test (tinkernet) for foreign asset
      - Added metadata & registry for Asset Hub Kusama
      
      * Update src/services/pallets/PalletsForeignAssetsService.ts
      
      Co-authore...
      450c6ead
  5. Sep 05, 2023
  6. Sep 01, 2023
  7. Aug 16, 2023
  8. Aug 14, 2023
    • Dominique's avatar
      fix: change error&error codes returned from /transaction/* related endpoints (#1312) · 797c4217
      Dominique authored
      * fix: change error&error codes returned from /transaction/* related endpoints
      
      * Revert back to using `extractCauseAndStack` & pass error code in `txErrorMiddleware`
      - Reverted to the previous error handling with `extractCauseAndStack`
      - Added the `code` in error thrown and passed it in the `txErrorMiddleware`
      - Reverted the changes to the test `.spec` files
      - Updated the mock files with the error code returned since now `err` also includes the `code`
      - Updated `ITxLegacyError`
      - Reverted changes in docs and rebuilt
      
      * fix: removed comment
      797c4217
  9. Jul 05, 2023
  10. Jun 26, 2023
  11. Jun 13, 2023
  12. May 29, 2023
  13. May 26, 2023
    • Dominique's avatar
      Update pjs deps & fixes (#1285) · 110b01ad
      Dominique authored
      - Updated pjs api deps.
      - Updated code of `isFrozen` so that we support both past & future runtimes.
      - Removed one test from latest-e2e-tests of kusama because this pallet was removed.
      - Updated docs related to the `isFrozen` change.
      110b01ad
  14. May 08, 2023
  15. May 05, 2023
  16. May 01, 2023
  17. Apr 19, 2023
  18. Apr 12, 2023
    • Tarik Gul's avatar
      fix!: update polkadot-js, and adjust for breaking changes... · 89648821
      Tarik Gul authored
      
      fix!: update polkadot-js, and adjust for breaking changes (`/accounts/{accountId}/balance-info`) (#1255)
      
      * chore(deps): update polkadot-js
      
      * Fix polkadot primitive candidate type cast in paras headers endpoint
      
      * Update polkadot-js
      
      * fix the accounts endpoint
      
      * Fix tests, and cleanup responses
      
      * Update polkadot historical e2e-tests
      
      * Update kusama historical e2e-tests
      
      * Update westend historical e2e-tests
      
      * Update statemine historical e2e tests
      
      * Add inline docs
      
      * Update docs
      
      * lint
      
      * Update docs/src/openapi-v1.yaml
      
      Co-authored-by: default avatarCameron Marshall <[email protected]>
      
      * rebuild docs
      
      ---------
      
      Co-authored-by: default avatarCameron Marshall <[email protected]>
      89648821
  19. Apr 11, 2023
  20. Apr 06, 2023
  21. Apr 04, 2023
  22. Mar 23, 2023
  23. Mar 15, 2023
  24. Mar 13, 2023
    • Cameron Marshall's avatar
      feat: add pallets/dispatchables endpoint (#1209) · b685ac24
      Cameron Marshall authored
      * test pallet dispatch call
      
      * update fetchDispatchables service
      
      * add e2e tests for dispatchables endpoint
      update docs
      
      * update getDispatchablesItemMeta
      
      * update dispatchables unit tests
      
      * update abstractpalletservice
      
      * update docs, fix mispells
      
      * update docs and remove log
      b685ac24
  25. Mar 01, 2023
    • Cameron Marshall's avatar
      feat: add pallets/consts endpoint (#1210) · 97c1ca63
      Cameron Marshall authored
      * add endpoint for pallet constants
      add unit and e2e tests
      
      * update docs for consts endpoint
      
      * merged master
      added statemint consts e2e tests
      
      * update abstractpalletservice
      
      * add newline in response mocks
      
      * yarn lint
      
      * update docs
      97c1ca63
  26. Feb 28, 2023
  27. Feb 14, 2023
  28. Feb 13, 2023
    • Cameron Marshall's avatar
      feat: add pallets/events endpoint (#1204) · 289d804c
      Cameron Marshall authored
      * add events pallet events endpoint
      add unit tests
      add e2e test
      
      * update docs for pallet events endpoint
      
      * add statemint e2e tests for pallet events endpoint
      
      * update events references
      
      * remove duplicate IPalletEventsParam reference
      
      * lint
      
      * add events check to getPalletMetadataType
      add unhappy path check to fetchEventItem unit tests
      
      * merge master
      
      * update abstratpalletservice types
      refactored events items assignment
      
      * update error message to reflect more accurately when the pallet metadata has no items to query of a specific field type
      
      * debug historicApi pallets
      
      * update check for isValidPalletName to use the pallet meta data instead of the historicApi
      
      * update error log for when a pallet id is not recognized
      
      * yarn lint
      289d804c
  29. Feb 07, 2023
  30. Feb 01, 2023
  31. Jan 30, 2023
  32. Jan 25, 2023
  33. Jan 24, 2023
    • Dominique's avatar
      feat: add `/pallets/staking/validators` endpoint (#1045) · 70e0a367
      Dominique authored
      
      
      * Added the `validators` endpoint
      - Controller, service, response type
      - Returns all validators addresses and their corresponding status (active / waiting)
      
      * Validators Info per block
      - Added the `at` query param
      - Modified the Service accordingly
      
      * yarn lint
      
      * Changes `array` to `Set` (James Super Tip)
      - Changed the data structure used to save the validators in the active set from an `array` to a `Set` (based on James suggestion)
      - Changed also the used functions accordingly.
      - Merged in one loop the check of which validator is in the active set and the population of the returned array.
      
      * Lint & Update docs
      - yarn lint
      - Added validators endpoint to the docs
      - Corrected other parts of the docs mentioned by the swagger as errors.
      
      * Added in latest e2e tests the validators endpoint
      
      * Changes from Tarik s comments
      
      * Adjustments in the docstring
      
      * Update src/services/pallets/PalletsStakingValidatorsService.ts
      
      Co-authored-by: default avatarTarik Gul <[email protected]>
      
      * yarn lint:fix
      
      Co-authored-by: default avatarTarik Gul <[email protected]>
      70e0a367
    • Tarik Gul's avatar
      docs: remove try it out option in docs (#1191) · 22f8fd47
      Tarik Gul authored
      22f8fd47
  34. Jan 23, 2023
    • Cameron Marshall's avatar
      feat: add /pallets/errors (#1176) · 65a08814
      Cameron Marshall authored
      * add controller and service for errors
      
      * add pallet errors endpoint
      
      * removed unused error query param
      
      * fix newline in response json
      
      * add abstract pallet service
      
      * add AbstractPallerService
      
      * remove dev log
      
      * change access modifier in abstract pallets
      
      * change fn name
      
      * add errors pallet to kusama
      
      * remove unused import
      remove newline
      
      * remove lower casing of pallet name in fetchErrors
      update latest polkadot e2e tests with PhragmentElection Pallet
      
      * update parsedPalletName
      65a08814
  35. Jan 18, 2023
  36. Jan 16, 2023
    • Cameron Marshall's avatar
      feat: add nomination pools support (#1095) · 7534b1e9
      Cameron Marshall authored
      * nomination pools
      
      * chore(deps): updated polkadot-js deps
      
      * feat: support for nomination pools
      
      * update tests
      
      * update nomination pool service
      
      * update test
      
      * remove historicApi as param
      
      * removed historicApi param from nomination pool info service
      
      * lint
      
      * update param info
      
      * update metadata arg, remove legacy docs
      
      * update open-api yml
      
      * update open api refs
      
      * add nomination pools controller to kusama and polkadot controllers
      
      * add comments to nomination pool service fns
      
      * add nomination pool latest e2e test
      7534b1e9