* derive.{balances, contracts, staking, session} returns Codec
* Json -> StructAny (as per VectorAny)
* multi returns VectorAny
* VectorAny casts
* Bump common
12 lines
358 B
TypeScript
12 lines
358 B
TypeScript
// Copyright 2017-2019 @polkadot/api-derive authors & contributors
|
|
// This software may be modified and distributed under the terms
|
|
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
|
|
import { ApiInterface$Rx } from '@plugnet/api/types';
|
|
|
|
import { all } from './all';
|
|
|
|
export function votingBalance (api: ApiInterface$Rx) {
|
|
return all(api);
|
|
}
|