powered by
Return a summary of assets bought and sold on the ledger.
getOrderbook(selling_asset_type, selling_asset_code = NULL, selling_asset_issuer = NULL, buying_asset_type, buying_asset_code = NULL, buying_asset_issuer = NULL, limit = 10)
required, character - Type of the Asset being sold native
optional, character - code of the Asset being sold USD
optional, character - account ID of the issuer of the Asset being sold GA2HGBJIJKI6O4XEM7CZWY5PS6GKSXL6D34ERAJYQSPYA6X6AI7HYW36
required, character - type of the Asset being bought credit_alphanum4
optional, character - code of the Asset being bought BTC
optional, character - account ID of the issuer of the Asset being bought
optional, numeric - the number of records to return.
list
# NOT RUN { getOrderbook(selling_asset_type = "native", buying_asset_type = "credit_alphanum4") # }
Run the code above in your browser using DataLab