mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
Refactor account creation auth endpoints
This commit is contained in:
@@ -114,3 +114,10 @@ func (tx PoolTxAPI) MarshalJSON() ([]byte, error) {
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
type AccountCreationAuthAPI struct {
|
||||
EthAddr apitypes.HezEthAddr `json:"hezEthereumAddress" meddler:"eth_addr" `
|
||||
BJJ apitypes.HezBJJ `json:"bjj" meddler:"bjj" `
|
||||
Signature apitypes.EthSignature `json:"signature" meddler:"signature" `
|
||||
Timestamp time.Time `json:"timestamp" meddler:"timestamp,utctime"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user