Module: HelloBlock::Faucet
Constant Summary collapse
- RESOURCE =
"/faucet"
Instance Method Summary collapse
Instance Method Details
#unspents(queries = {}) ⇒ Object
6 7 8 9 |
# File 'lib/helloblock/faucet.rb', line 6 def unspents(queries = {}) res = HelloBlock::Request.get("#{RESOURCE}", query: queries) res end |
#withdrawal(body = {}) ⇒ Object
11 12 13 14 |
# File 'lib/helloblock/faucet.rb', line 11 def withdrawal(body = {}) res = HelloBlock::Request.post("#{RESOURCE}/withdrawal", body: body) res end |