const response = await fetch('https://eos.nownodes.io/v1/chain/get_required_keys', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"transaction": {
"expiration": "text",
"ref_block_num": 0,
"ref_block_prefix": 0,
"max_net_usage_words": "text",
"max_cpu_usage_ms": "text",
"delay_sec": 0,
"context_free_actions": [
{
"account": "text",
"name": "text",
"authorization": [
{
"actor": "text",
"permission": "text"
}
],
"hex_data": "text"
}
],
"actions": [
{
"account": "text",
"name": "text",
"authorization": [
{
"actor": "text",
"permission": "text"
}
],
"hex_data": "text"
}
]
},
"available_keys": [
"text"
]
}),
});
const data = await response.json();