Skip to content

close ​

This action is the opposite for open, it closes the account owner for token symbol.

  • Parameters
FieldsTypeDescription
ownereosio::nameThe owner account to execute the close action for
symboleosio::symbolThe symbol of the token to execute the close action for

Required Permissions: owner

  • cleos Example
shell
cleos push action eosio.token close '["ultra", "8,UOS"]' -p ultra
  • eos-js Example
typescript
(async () => {
    const result = await api.transact(
        {
            actions: [
                {
                    account: 'eosio.token',
                    name: 'close',
                    authorization: [
                        {
                            actor: 'ultra',
                            permission: 'active',
                        },
                    ],
                    data: {
                        owner: 'ultra',
                        symbol: '8,UOS',
                    },
                },
            ],
        },
        {
            blocksBehind: 3,
            expireSeconds: 30,
        }
    );
})();