Function: placeOrderMessage()
placeOrderMessage(
amount:string|number,currency:Currency,receiver:string,chain?:string|number):string
The message to be signed when placing an order.
Parameters
| Parameter | Type | Description |
|---|---|---|
amount | string | number | The amount to be sent |
currency | Currency | The currency to be sent |
receiver | string | The receiver of the funds |
chain? | string | number | The chainId of the network if it's a cross-chain transaction |
Returns
string
cross-chain:
Send {CURRENCY} {AMOUNT} to {RECEIVER} on {CHAIN} at {DATE}`
off-ramp:
Send {CURRENCY} {AMOUNT} to {RECEIVER} at {DATE}
Examples
`Send EUR 1 to 0x1234123412341234123412341234123412341234 on ethereum at 2023-04-30T12:00:00+01:00`
`Send EUR 1 to IS1234123412341234 at 2023-04-30T12:00:00+01:00`