UNPKG

@polkadot/types

Version:
48 lines (47 loc) 1.56 kB
export const runtime = { NominationPoolsApi: [ { methods: { balance_to_points: { description: 'Returns the equivalent points of `new_funds` for a given pool.', params: [ { name: 'poolId', type: 'NpPoolId' }, { name: 'newFunds', type: 'Balance' } ], type: 'Balance' }, pending_rewards: { description: 'Returns the pending rewards for the given member.', params: [ { name: 'member', type: 'AccountId' } ], type: 'Balance' }, points_to_balance: { description: 'Returns the equivalent balance of `points` for a given pool.', params: [ { name: 'poolId', type: 'NpPoolId' }, { name: 'points', type: 'Balance' } ], type: 'Balance' } }, version: 1 } ] };