Module: NanoRpc::AccountMethods
- Included in:
- Account
- Defined in:
- lib/nano_rpc/methods/account_methods.rb
Instance Method Summary collapse
-
#proxy_methods ⇒ Object
rubocop:disable Metrics/MethodLength.
- #proxy_params ⇒ Object
Instance Method Details
#proxy_methods ⇒ Object
rubocop:disable Metrics/MethodLength
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/nano_rpc/methods/account_methods.rb', line 7 def proxy_methods # rubocop:disable Metrics/MethodLength { account_balance: {}, account_block_count: {}, account_create: { required: %i[wallet], optional: %i[work] }, account_history: { required: %i[count], optional: %i[raw head] }, account_info: {}, account_key: {}, account_move: { required: %i[wallet source accounts] }, account_remove: { required: %i[wallet] }, account_representative: {}, account_representative_set: { required: %i[wallet representative] }, account_weight: {}, delegators: {}, delegators_count: {}, frontiers: { required: %i[count] }, ledger: { required: %i[count], optional: %i[representative weight pending modified_since sorting] }, payment_wait: { required: %i[amount timeout] }, pending: { required: %i[count], optional: %i[threshold exists source include_active] }, receive: { required: %i[wallet block], optional: %i[work] }, validate_account_number: {}, work_get: { required: %i[wallet] }, work_set: {} } end |
#proxy_params ⇒ Object
3 4 5 |
# File 'lib/nano_rpc/methods/account_methods.rb', line 3 def proxy_params { account: :address } end |