I'm syncing with mongo_db_plugin enabled. But, when I see 'acctounts' collection in mongo, createAt is time created in monogo, not actual eos mainnet.

How can I query mongo to get accounts creation time?

enter image description here

1 Answer 1


Currently there is no such data in the mongodb directly.

You could use the RPC API, which is POST v1/chain/get_account with account_name field. Like this:

 curl --request POST --url https://api.eosbean.com/v1/chain/get_account --data '{"account_name":"eosbeaneosbp"}'

If you really want to retrieve that data from mongodb, you could query the action_traces collection, and look for documents where act.name is newaccount and act.data.name is the account you are looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.