Skip to content
  1. May 18, 2022
  2. May 16, 2022
    • Tarik Gul's avatar
      feat(balance-info): add query param to convert free balance to human (#914) · f1e03d6c
      Tarik Gul authored
      * update the balance key in IAccountsBalanceInfo to also be a string
      
      * accept a query param for converting the balance
      
      * add private convertBalance
      
      * add tests for convertBalance
      
      * change convert to denominate
      
      * switch all over to denomination
      
      * inline comments
      
      * handle zero values, and cleanup code
      
      * handle all balance values
      
      * add IBalanceLock type
      
      * add denominateLocks
      
      * update docs
      
      * add error handling for a chain with no decimal
      
      * correct the docs
      
      * cleanup code
      
      * cover edgecase where decimal is 0
      
      * set api to historicApi
      
      * fix decimal selection
      
      * detail dec value in applyDenominationBalance
      f1e03d6c
  3. May 10, 2022
  4. May 03, 2022
  5. Apr 21, 2022
  6. Apr 13, 2022
  7. Mar 30, 2022
  8. Mar 16, 2022
  9. Mar 08, 2022
  10. Feb 28, 2022
  11. Feb 24, 2022
  12. Feb 22, 2022
  13. Feb 16, 2022
  14. Feb 10, 2022
  15. Feb 02, 2022
  16. Feb 01, 2022
  17. Jan 26, 2022
  18. Jan 13, 2022
  19. Dec 21, 2021
  20. Dec 16, 2021
  21. Dec 09, 2021
  22. Dec 02, 2021
  23. Nov 23, 2021
  24. Nov 16, 2021
  25. Nov 15, 2021
  26. Nov 11, 2021
  27. Nov 10, 2021
  28. Nov 09, 2021
    • Tarik Gul's avatar
      feat: add query param `metadata` (#746) · 273cac2a
      Tarik Gul authored
      * add query param decodeMeta
      
      * update docs
      
      * fix test description
      
      * lint
      
      * fix up the query param to have both noMeta and metadata without introducing breaking changes
      
      * update logic, and clean it up
      
      * lint
      
      * change ifs to switch
      
      * update the docs
      
      * update more docs
      
      * build:docs
      
      * inline comment
      273cac2a
  29. Nov 08, 2021
  30. Nov 04, 2021
  31. Oct 28, 2021
  32. Oct 27, 2021
    • Tarik Gul's avatar
      fix(e2e-tests): add e2e-tests for `/accounts/{accoundId}/validate` (#731) · 2f115b35
      Tarik Gul authored
      
      
      * add ValidateAddressService
      
      * add ValidateAddressController
      
      * add AccountsValidate to polkadot, westend, and kusama
      
      * imports
      
      * add kusama chain config
      
      * fix response
      
      * fix networkInfo bug
      
      * lint
      
      * get tests started
      
      * change the name of the service
      
      * cleanup, lint, fix build, test boilerplate
      
      * update the tests
      
      * more tests
      
      * use hexToU8a for hex conversion
      
      * add tests for hex values
      
      * cleanup
      
      * docs
      
      * e2e tests for validate
      
      * update e2e responses
      
      * update docs
      
      * Update docs/src/openapi-v1.yaml
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * docs
      
      Co-authored-by: default avatarDavid <[email protected]>
      2f115b35
    • Tarik Gul's avatar
      feat: add /accounts/:address/validate endpoint (#726) · 77bf8edb
      Tarik Gul authored
      
      
      * add ValidateAddressService
      
      * add ValidateAddressController
      
      * add AccountsValidate to polkadot, westend, and kusama
      
      * imports
      
      * add kusama chain config
      
      * fix response
      
      * fix networkInfo bug
      
      * lint
      
      * get tests started
      
      * change the name of the service
      
      * cleanup, lint, fix build, test boilerplate
      
      * update the tests
      
      * more tests
      
      * use hexToU8a for hex conversion
      
      * add tests for hex values
      
      * cleanup
      
      * docs
      
      * add AccountsValidate controller to other chains-config
      
      * remove networkId
      
      * update tests
      
      * ValidateAddrResponse -> IValidateAddrResponse
      
      * typos
      
      * ss58Decoded -> ss58Prefix
      
      * inline docs for validate address
      
      * update docs
      
      * cleanup testws
      
      * Update src/services/accounts/AccountsValidateService.spec.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/accounts/AccountsValidateService.spec.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/accounts/AccountsValidateService.spec.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/accounts/AccountsValidateService.ts
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * update docs
      
      * add proper error handling for base58decode
      
      * docs
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      Co-authored-by: default avatarDavid <[email protected]>
      77bf8edb
  33. Oct 20, 2021
  34. Oct 14, 2021
    • Tarik Gul's avatar
      fix!: change the response for vesting-info (#717) · 8b9866d0
      Tarik Gul authored
      * BREAKING CHANGE: default return value is an array instead of an object
      
      * add docs
      
      * fix: vesting-info tests, add another test as well
      
      * docs
      
      * lint
      
      * add test
      
      * lint
      
      * refactor to avoid duplicate unwrap calls
      8b9866d0
  35. Oct 13, 2021