Sha256: 2abc366a70d3d87f5d745d1914c5449a8fe7ef44c44341d31ccb368200076793

Contents?: true

Size: 538 Bytes

Versions: 6

Compression:

Stored size: 538 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]
      }
    }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nano_rpc-0.25.0 lib/nano_rpc/methods/accounts_methods.rb
nano_rpc-0.24.0 lib/nano_rpc/methods/accounts_methods.rb
nano_rpc-0.23.0 lib/nano_rpc/methods/accounts_methods.rb
nano_rpc-0.22.0 lib/nano_rpc/methods/accounts_methods.rb
nano_rpc-0.21.0 lib/nano_rpc/methods/accounts_methods.rb
nano_rpc-0.20.0 lib/nano_rpc/methods/accounts_methods.rb