bitcat365 / oasisscan-backend

oasisscan.com backend
3 stars 4 forks source link

Extend ChainTransactionInfoResponse object definition #11

Open buberdds opened 5 hours ago

buberdds commented 5 hours ago

Would it be possible to represent ChainTransactionInfoResponse method https://github.com/bitcat365/oasisscan-backend/blob/master/api/api.json#L1983 as enum instead of string ?

      "method": {
        "type": "string",
        "enum": [
          "staking.Transfer",
          "staking.AddEscrow"
          ...whatever Oasis Scan can have here 
        ]
      }