Skip to content

Instantly share code, notes, and snippets.

@hali241997 hali241997/eos-tx
Last active Dec 18, 2019

Embed
What would you like to do?
actions: [{
account: 'eosio',
name: 'newaccount',
authorization: [{
actor: account,
permission: 'active'
}],
data: {
creator: account,
name: 'mynewacc',
owner: {
threshold: 1,
keys: [{
key: 'EOS5M3iMC3B3MVfDYMMQUE6Pqj8FhU5fMzc5T6pYdog75SCWUCc8j',
weight: 1
}],
accounts: [],
waits: []
},
active: {
threshold: 1,
keys: [{
key: 'EOS5M3iMC3B3MVfDYMMQUE6Pqj8FhU5fMzc5T6pYdog75SCWUCc8j',
weight: 1
}],
accounts: [],
waits: []
}
}
},
{
account: 'eosio',
name: 'buyrambytes',
authorization: [{
actor: account,
permission: 'active'
}],
data: {
from: account,
receiver: 'mynewacc',
bytes: 8192
}
},
{
account: 'eosio',
name: 'delegatebw',
authorization: [{
actor: account,
permission: 'active'
}],
data: {
from: account,
receiver: 'mynewacc',
stake_net_quantity: '1.0000 SYS',
stake_cpu_quantity: '1.0000 SYS',
transfer: false,
}
}],
expiration,
ref_block_num: refBlockNum,
ref_block_prefix: refBlockPrefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.