10 * 10^8 = 1000000000
.0x4554482d55534400000000000000000000000000000000000000000000000000
0x4254432d55534400000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000
0xff970a61a04b1ca14834a43f5de4533ebddb5cc8
payableAmount
is your margin if submitting an ETH based trade. Enter the amount in wei (18 decimals). For ERC20 based trades, leave this blank and enter the amount in the margin field.productId
.currency
.isLong
. Enter 1 to go long, 0 to go short.margin
. In base units.size
. In base units. Size / margin determines your position's leverage.productId
. Your order's productId.currency
. Your order's currency.isLong
. Your order's direction (1 for long, 0 for short).payableAmount
is the fee to pay if submitting an ETH based trade. Enter the amount in wei (18 decimals), usually 0.1% * your trade size. Otherwise leave blank.productId
. Your position's productId.currency
. Your position's currency.isLong
. Your position's direction.size
. In base units. The amount you want to close.