const response = await fetch('https://egld.nownodes.io/transaction/simulate?checkSignature=false', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"nonce": 0,
"value": "999",
"receiver": "erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa",
"sender": "erd14t6l0x27w4d4354sqfm40wuv9p0r49uzl9598eka290x9kws2nvqlkc36j",
"gasPrice": 1000000000,
"gasLimit": 50000,
"data": "dGVzdA==",
"chainID": "1",
"version": 1,
"signature": "5f9f8ede6c993944095ffa9c4356ccbbafc0a2d98df2fff93ad9e000366e42af332a8c907d93fe43f22f5b4763b408152bb3fb6a454c73473c86a509f011ba0f"
}),
});
const data = await response.json();