polkadot-js/api

View on GitHub
Branch: master(View all)
NameLines of codeMaintainabilityTest coverage
packages/types-known/src/util.ts90
C
7 hrs
packages/api-base/src/types/storage.ts86
B
6 hrs
packages/types/src/metadata/decorate/storage/createFunction.ts181
B
6 hrs
packages/api-contract/src/rx/index.ts19
B
5 hrs
packages/api-contract/src/promise/index.ts19
B
5 hrs
packages/api-derive/src/balances/all.ts175
B
5 hrs
packages/api-derive/src/staking/query.ts93
B
4 hrs
packages/types-known/src/spec/kusama.ts196
B
4 hrs
packages/api-derive/src/chain/subscribeNewBlocks.ts14
B
4 hrs
packages/api-derive/src/chain/subscribeFinalizedBlocks.ts14
B
4 hrs
packages/api-derive/src/democracy/util.ts135
A
3 hrs
packages/api-derive/src/staking/ownSlashes.ts31
A
3 hrs
packages/api-derive/src/staking/ownExposure.ts25
A
3 hrs
packages/api-derive/src/staking/stakerRewards.ts171
A
3 hrs
packages/api-derive/src/staking/erasPrefs.ts30
A
2 hrs
packages/api-derive/src/staking/erasExposure.ts38
A
2 hrs
packages/types-codec/src/utils/decodeU8a.ts58
A
2 hrs
packages/types/src/metadata/v13/toV14.ts263
A
2 hrs
packages/api-base/src/types/calls.ts18
A
2 hrs
packages/types-create/src/util/getTypeDef.ts196
A
1 hr
packages/api-derive/src/democracy/preimages.ts107
A
1 hr
packages/api-derive/src/staking/util.ts65
A
1 hr
packages/api-contract/src/base/types.ts35
A
1 hr
packages/api-derive/src/chain/util.ts45
A
1 hr
packages/types-codec/src/utils/sortValues.ts48
A
1 hr
packages/api/src/base/find.ts8
A
1 hr
packages/types/src/metadata/decorate/storage/util.ts61
A
1 hr
packages/types-codec/src/utils/compareMap.ts28
A
1 hr
packages/types-codec/src/utils/compareSet.ts14
A
1 hr
packages/api-derive/src/staking/account.ts67
A
1 hr
packages/api-derive/src/democracy/dispatchQueue.ts117
A
1 hr
packages/api-derive/src/balances/account.ts135
A
1 hr
packages/types-create/src/util/encodeTypes.ts146
A
1 hr
packages/api-derive/src/accounts/identity.ts117
A
1 hr
packages/api-derive/src/staking/erasRewards.ts31
A
55 mins
packages/api-derive/src/staking/erasPoints.ts40
A
55 mins
packages/api-derive/src/staking/stakerExposure.ts41
A
50 mins
packages/api-derive/src/bagsList/getExpanded.ts23
A
45 mins
packages/api-derive/src/chain/getBlockByNumber.ts13
A
45 mins
packages/api-derive/src/tx/signingInfo.ts74
A
40 mins
packages/api-base/src/types/events.ts12
A
40 mins
packages/api-derive/src/society/members.ts36
A
40 mins
packages/api-base/src/types/errors.ts11
A
40 mins
packages/types-known/src/spec/westend.ts89
A
40 mins
packages/api-base/src/types/rpc.ts25
A
35 mins
packages/api-base/src/types/base.ts42
A
35 mins
packages/types/src/generic/ChainProperties.ts58
A
35 mins
packages/types-create/src/util/typeSplit.ts32
A
35 mins
packages/api-derive/src/democracy/referendumsInfo.ts145
A
30 mins
packages/api-derive/src/balances/votingBalances.ts16
A
30 mins