Queries

House module CLI queries.

Query the House Params

sged q bet params

Query the Deposits

sged q house deposits

Query deposits of a depositor by address

sged q house deposits-by-account [account]

The below table explains the details of the argument required for the above query:

ParamsDescriptionTypeValidationExample

account

depositor account address

string

  1. Required

  2. Valid Address

sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3

Query withdrawals of a depositor by address

sged q house withdrawals-by-account [account]

The below table explains the details of the argument required for the above query:

ParamsDescriptionTypeValidationExample

account

depositor account address

string

  1. Required

  2. Valid Address

sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3

Query withdrawal by ID

sged q house withdrawal [depositor_address] [market_uid] [participation_index] [id]

The below table explains the details of the argument required for the above query:

ParamsDescriptionTypeValidationExample

depositor-addr

creator account address

string

  1. Required

  2. Valid Address

sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3

market_uid

UUID of the merket

string

  1. Required

  2. Valid UUID

  3. Existing market

8483cc8a-d4c8-44ef-9f06-971ec7afe059

participation_index

participation index of the orderbook participation

uint64

  1. Required

  2. Numeric

  3. Existing participation

1

id

sequential id of the withdrawal

uint64

  1. Required

  2. Numeric

  3. Existing ID

1

Last updated