I am trying to use a secondary account to pay for cpu/ram for the primary accounts eosio.tokens how do I do that using eosjs library
My current action looks like this
actions: [{
account: 'eosio.token',
name: 'transfer',
authorization: [{
actor: 'lionster1011',
permission: 'active',
}],
data: {
from: 'lionster1011',
to: 'lionster1010',
quantity: '10.0000 EOS',
memo: 'EOS-TRANSFER',
},
}]
Please advice