# Adding an oracle

WARNING

This transaction type is reserved to the government.
If you want to become an oracle please contact a Commercio.network administrator.

# Transaction message

To add a new oracle into the set of current oracles you need to create and sign the following message.

{
  "type": "commercio/MsgAddOracle",
  "value": {
    "oracle": "<Did of the oracle to be added>",
    "signer": "<Government address>"
  }
}
1
2
3
4
5
6
7

# Action type

If you want to list past transactions including this kind of message, you need to use the following message.action value:

addOracle
1