Module: MixinBot::API::Address
- Included in:
- MixinBot::API
- Defined in:
- lib/mixin_bot/api/address.rb
Instance Method Summary collapse
Instance Method Details
#safe_deposit_entries(**kwargs) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/mixin_bot/api/address.rb', line 6 def safe_deposit_entries(**kwargs) path = '/safe/deposit/entries' members = [kwargs[:members]] if kwargs[:members].is_a? String payload = { members:, threshold: kwargs[:threshold] || 1, chain_id: kwargs[:chain_id] } client.post path, **payload, access_token: kwargs[:access_token] end |