const {order: compile} = require('@algodex/sdk')
const order = compile({
"client": new algosdk.Algodv2(),
"asset": {
"id": 15322902,
"decimals": 6,
},
"address": "TJFFNUYWHPPIYDE4DGGYPGHWKGAPJEWP3DGE5THZS3B2M2XIAPQ2WY3X4I",
"price": 2.22,
"amount": 1,
"total": 2,
"execution": "maker",
"type": "buy",
"appId": 22045503,
"version": 6
})
console.log(order.contract.lsig)
// Outputs LogicSigAccount