Skip to content

newebact - create an EBA account

FieldTypeDescription
creatoreosio::nameThe account that pays for the new account
ownereosio::authorityThe owner authority of new account
activeeosio::authorityThe active authority of new account
max_paymenteosio::assetThe max payment for the new account creation in UOS

CLI - cleos

sh
cleos push action eosio delegatebw '["from","receiver","5.0000 UOS",true]' -p from

JavaScript - eosjs

java
await api.transact({
  actions: [
    {
      account: "eosio",
      name: "delegatebw",
      authorization: [{ actor: "from", permission: "active" }],
      data: {
        from: "from",
        receiver: "receiver",
        stake_net_quantity: "5.00000000 UOS",
        transfer: "true"
      },
    },
  ],
});