Sha256: 952cfaecb6c32e1ffe49d8db62b1868f7b511d1d02269d1eda5f812c0a7d0dc0

Contents?: true

Size: 599 Bytes

Versions: 1

Compression:

Stored size: 599 Bytes

Contents

# frozen_string_literal: true
module NanoRpc::AccountsMethods
  def proxy_params
    { accounts: :addresses }
  end

  def proxy_methods # rubocop:disable Metrics/MethodLength
    {
      account_move: {
        required: %i[wallet source]
      },
      accounts_balances: {},
      accounts_create: {
        required: %i[wallet count],
        optional: %i[work]
      },
      accounts_frontiers: {},
      accounts_pending: {
        required: %i[count],
        optional: %i[
          threshold source include_active
          sorting include_only_confirmed
        ]
      }
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nano_rpc-0.26.0 lib/nano_rpc/methods/accounts_methods.rb