Manifests
Below are the manifest for the Order Book
Price Condition Information:
Decimal("{PRICE}") - This must be a number with maximum 5 significant figuresPlace a single limit order:
CALL_METHOD
Address("{ACCOUNT}")
"withdraw"
Address("{TOKEN}")
Decimal("{AMOUNT}")
;
TAKE_ALL_FROM_WORKTOP
Address("{TOKEN}")
Bucket("tokens")
;
CALL_METHOD
Address("{ORDER_BOOK_COMPONENT}")
"limit_order"
Bucket("tokens")
Decimal("{PRICE}")
;
CALL_METHOD
Address("{ACCOUNT}")
"deposit_batch"
Expression("ENTIRE_WORKTOP")
;Place multiple limit orders:
Claim or Cancel a Single Order:
Claim or Cancel Multiple Orders:
Execute a Market Order (trade directly with component)
Last updated