class ArkEcosystem::Client::API::Wallets
Public Instance Methods
all(parameters = {})
click to toggle source
Get all wallets.
@param parameters [Hash]
@return [Faraday::Response]
# File lib/arkecosystem/client/api/wallets.rb, line 13 def all(parameters = {}) @client.get('wallets', parameters) end
received_transaction(id, parameters = {})
click to toggle source
Get the received transactions for the given wallet.
@param id [String] @param parameters [Hash]
@return [Faraday::Response]
# File lib/arkecosystem/client/api/wallets.rb, line 61 def received_transaction(id, parameters = {}) @client.get("wallets/#{id}/transactions/received", parameters) end
search(parameters)
click to toggle source
Search all wallets.
@param parameters [Hash]
@return [Faraday::Response]
# File lib/arkecosystem/client/api/wallets.rb, line 79 def search(parameters) @client.post('wallets/search', parameters) end
sent_transactions(id, parameters = {})
click to toggle source
Get the sent transactions for the given wallet.
@param id [String] @param parameters [Hash]
@return [Faraday::Response]
# File lib/arkecosystem/client/api/wallets.rb, line 51 def sent_transactions(id, parameters = {}) @client.get("wallets/#{id}/transactions/sent", parameters) end
show(id)
click to toggle source
Get the wallet by the given id.
@param id [String]
@return [Faraday::Response]
# File lib/arkecosystem/client/api/wallets.rb, line 31 def show(id) @client.get("wallets/#{id}") end
top(parameters = {})
click to toggle source
Get all wallets sorted by balance.
@param parameters [Hash]
@return [Faraday::Response]
# File lib/arkecosystem/client/api/wallets.rb, line 22 def top(parameters = {}) @client.get('wallets/top', parameters) end
transactions(id, parameters = {})
click to toggle source
Get the transactions for the given wallet.
@param id [String] @param parameters [Hash]
@return [Faraday::Response]
# File lib/arkecosystem/client/api/wallets.rb, line 41 def transactions(id, parameters = {}) @client.get("wallets/#{id}/transactions", parameters) end
votes(id)
click to toggle source
Get the votes for the given wallet.
@param if [String]
@return [Faraday::Response]
# File lib/arkecosystem/client/api/wallets.rb, line 70 def votes(id) @client.get("wallets/#{id}/votes") end