-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
({"err":{"InstructionError":[0,{"Custom":21}]}}) i use the getLimitOrderInstructionfromTemplate(marketaddress,trader,template),the template is {
side: PhoenixSdk.Side.Bid,
priceAsFloat: bidPrice,
sizeInBaseUnits: 1,
selfTradeBehavior: PhoenixSdk.SelfTradeBehavior.Abort,
clientOrderId: 1,
useOnlyDepositedFunds: false,
lastValidSlot: undefined,
lastValidUnixTimestampInSeconds:
currentTime + ORDER_LIFETIME_IN_SECONDS,
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels