Skip to content

Script Engine: Access to balances #983

@AwooOOoo

Description

@AwooOOoo

Is your feature request related to a problem? Please describe.
Allow the script engine to expose access to the balance data as seen in the balances window

Describe the solution you'd like
Expose a 'balance' object such as;

{ 
  base: 'BTC', 
  quote: 'USD', 
  baseBalance: '0.1', 
  quoteBalance: '500.00'
  baseAvailable: '0.1', 
  quoteAvailable: '500.00'
}

Describe alternatives you've considered
I notice you use 'counter' (i.e. base/counter) instead of the more standardized 'quote' terminology (base/quote), but we should be consistent whatever we choose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions