Place a new order, cancel an order by ID, or cancel all orders. Requires Ed25519 signature.
Order types:
triggerPx: 0.0 for immediate execution)Cancel operations:
{"cancel": {"c": "BTC-USD", "oid": "order_id"}} in the orders array{"cancelAll": {"c": ["BTC-USD"]}} in the orders array{"cancelAll": {"c": []}} in the orders arraySigning: See “Transaction Signing” section below
Signed transaction for placing orders, canceling orders, or canceling all orders.
Must be signed - see "Transaction Signing" section
The action to perform
Account public key - whose account is being traded (base58)
"FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7"
Signer public key - who's signing; usually same as account, or authorized agent (base58)
"FuueqefENiGEW6uMqZQgmwjzgpnb85EgUcZa5Em4PQh7"
Ed25519 signature of bincode_serialize(action + account + signer) (base58)
"5j7sVt3k2YxPqH4w..."