Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECRecoverRequest ¶
type VerifyKeySignatureRequest ¶
type VerifyKeySignatureRequest struct { Data []byte `json:"data" validate:"required" example:"bXkgc2lnbmVkIG1lc3NhZ2U=" swaggertype:"string"` Signature []byte `` /* 156-byte string literal not displayed */ Curve string `json:"curve" validate:"required,isCurve" example:"secp256k1" enums:"babyjubjub,secp256k1" swaggertype:"string"` SigningAlgorithm string `json:"signingAlgorithm" validate:"required,isSigningAlgorithm" example:"ecdsa" enums:"ecdsa,eddsa"` PublicKey []byte `json:"publicKey" validate:"required" example:"Cjix/fS3WdqKGKabagBNYwcClan5aImoFpnjSF0cqJs=" swaggertype:"string"` }
type VerifyRequest ¶
type VerifyRequest struct { Data hexutil.Bytes `json:"data" validate:"required" example:"0xfeaeee..." swaggertype:"string"` Signature hexutil.Bytes `json:"signature" validate:"required" example:"0x6019a3c8..." swaggertype:"string"` Address common.Address `json:"address" validate:"required" example:"0x905B88EFf8Bda1543d4d6f4aA05afef143D27E18" swaggertype:"string"` }
type VerifyTypedDataRequest ¶
type VerifyTypedDataRequest struct { TypedData types.SignTypedDataRequest `json:"data" validate:"required"` Signature hexutil.Bytes `json:"signature" validate:"required" example:"0x6019a3c8..." swaggertype:"string"` Address common.Address `json:"address" validate:"required" example:"0x905B88EFf8Bda1543d4d6f4aA05afef143D27E18" swaggertype:"string"` }
Click to show internal directories.
Click to hide internal directories.