UNPKG

@polkadot/types

Version:
39 lines (38 loc) 1.3 kB
export const runtime = { MixnetApi: [ { methods: { current_mixnodes: { description: 'Get the index and phase of the current session.', params: [], type: 'Result<Mixnode, MixnodesErr>' }, maybe_register: { description: 'Try to register a mixnode for the next session.', params: [ { name: 'session_index', type: 'u32' }, { name: 'mixnode', type: 'Mixnode' } ], type: 'bool' }, prev_mixnodes: { description: 'Get the index and phase of the current session.', params: [], type: 'Result<Mixnode, MixnodesErr>' }, session_status: { description: 'Get the index and phase of the current session.', params: [], type: 'SessionStatus' } }, version: 1 } ] };