async function sellRam(account_name, sell_bytes){
  const result = await api.transact (
    account: 'eosio',
    name: 'sellram',
    authorization: [
        actor: account_name,
        permission: 'active',
    data: {
      account: account_name,
      bytes: sell_bytes,
    blocksBehind: 3,
    expireSeconds: 30,

It is giving error: TypeError: Cannot read property 'map' of undefined

My account is on Jungle testnet. What does this error mean? Please guide me. Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.