Skip to content
  1. Mar 15, 2023
  2. 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
  3. 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
  4. Feb 28, 2023
  5. Feb 14, 2023
  6. 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
  7. Feb 07, 2023
  8. Feb 01, 2023
  9. Jan 30, 2023
  10. Jan 25, 2023
  11. 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
  12. 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
  13. Jan 18, 2023
  14. 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
  15. Jan 10, 2023
    • Tarik Gul's avatar
      feat: add `/paras/head/included-candidates` and `/paras/head/backed-candidates` (#1166) · eb4add7a
      Tarik Gul authored
      * feat: add /paras/head
      
      * backed candidates endpoint
      
      * finalize the backed-candidate logic
      
      * fix grumble with return type
      
      * fix types and complete /paras/head logic
      
      * cleanup
      
      * add test for parasHead, and add at field for responses
      
      * add test for backed candidates
      
      * add docs
      
      * add inline docs
      
      * rework the endpoints
      
      * update docs
      
      * remove mute mock data
      
      * update endpoint descriptions
      
      * leases to heads
      
      * adjust inline comment
      
      * add the endpoints to the latest e2e tests
      
      * fix spacing
      eb4add7a
    • Tarik Gul's avatar
      chore(release): 14.2.3 (#1182) · 6070552b
      Tarik Gul authored
      v14.2.3
      6070552b
  16. Jan 06, 2023
  17. Dec 27, 2022
  18. Dec 22, 2022
  19. Dec 14, 2022
  20. Dec 07, 2022
  21. Nov 24, 2022
  22. Nov 22, 2022
    • Tarik Gul's avatar
      fix docs (#1145) · 17f00d64
      Tarik Gul authored
      17f00d64
    • Tarik Gul's avatar
      feat: add support for ink! contracts (#1015) · f6499fae
      Tarik Gul authored
      
      
      * feat: contracts endpoint boilerplate
      
      * add @polkadot/api-contracts
      
      * set this as a post request
      
      * modify post request handler type
      
      * cleanup service
      
      * add contracts controller to the default controller
      
      * boilerplate tests
      
      * set mock data for contracts
      
      * expand request types to include generic P type
      
      * cleanup controlelr with expanded types and clean naming. Add query params
      
      * add query params
      
      * comment out some tests
      
      * expand query params, and fix logic
      
      * fix small grumble
      
      * add validateAddress middleware
      
      * pass the ContractPromise into the service to make testing possible
      
      * add test for contracts ink
      
      * fix versions
      
      * cleanup contract query calls
      
      * fix inline comments, and cleanup code
      
      * remove parseBNorThrow (only needed for contrcuting contract txs)
      
      * docs
      
      * update 400 errors
      
      Co-authored-by: default avatarmarshacb <[email protected]>
      f6499fae
    • dependabot[bot]'s avatar
      chore: bump loader-utils from 1.4.1 to 1.4.2 in /docs (#1140) · 71456c4d
      dependabot[bot] authored
      
      
      Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
      - [Release notes](https://github.com/webpack/loader-utils/releases)
      - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
      - [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)
      
      ---
      updated-dependencies:
      - dependency-name: loader-utils
        dependency-type: indirect
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      71456c4d
  23. Nov 21, 2022
  24. Nov 11, 2022
  25. Nov 10, 2022
  26. Nov 03, 2022
    • Cameron Marshall's avatar
      chore(release): v14.1.0 (#1127) · 55868150
      Cameron Marshall authored
      * chore(release):v14.1.0
      
      * move ci commits to ci in changelog
      
      * correct version to 14.0.1
      
      * remove extra lines in changelog
      update release date
      
      * chore(release): v14.1.0
      
      * update compatibility changelog
      
      * compatibility changelog
      
      * update westend compatibility version
      v14.1.0
      55868150
  27. Oct 28, 2022
  28. Oct 19, 2022
  29. Oct 13, 2022
    • Dominique's avatar
      Changes in schema & guide (#1080) · 3fa96894
      Dominique authored
      - Moved the `AccountConvert` path so it is in alphabetical order.
      - Added the `AccountConvert` schema.
      - Small correction in `PalletStorageItem` schema.
      - Added swagger verification step in the CONTRIBUTING guide.
      3fa96894
  30. Oct 03, 2022
  31. Sep 28, 2022
  32. Sep 21, 2022
    • Dominique's avatar
      feat: add /accounts/:accountId/convert endpoint (#1007) · e2d6fae4
      Dominique authored
      
      
      * Added the `convert` endpoint
      - Controller, service, response type
      
      * Removed getPair
      
      * SS58 Address from Public key (hex)
      - Using the query param `publicKey` to output the SS58 address if the input/parameter that is given by the user is a Public Key (hex) and not an accountID.
      
      * Changes in validation code & Adding tests
      - Added specific types that the `RequestHandler` can accept.
      - Cleaned the code that validates the query params (and sets default values) in the Controller.
      - Added tests with different valid or invalid endpoints to check.
      
      * Updated the Docs
      - Updated the docs with the `convert` endpoint functionality &  path & query params.
      
      * Changes in the docs based on Tarik's feedback
      - Keeping the "AccountId" written with the same format.
      - Other minor changes in formatting.
      
      * Changes in code & formatting based on Tarik's feedback
      
      * Minor change in the docstrings
      
      * refactor controller to use validateBoolean
      
      Co-authored-by: default avatartarikgul <[email protected]>
      e2d6fae4
  33. Sep 19, 2022