 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- Variables
- func FormatAccountResponse(account *entities.ETHAccount) *logical.Response
- func FormatSignEEATransactionRequest(requestData *framework.FieldData) (tx *types.Transaction, privateArgs *entities2.PrivateETHTransactionParams, ...)
- func FormatSignETHTransactionRequest(requestData *framework.FieldData) (*types.Transaction, error)
- func FormatSignQuorumPrivateTransactionRequest(requestData *framework.FieldData) (*quorumtypes.Transaction, error)
- func FormatSignatureResponse(signature string) *logical.Response
- func FormatZksAccountResponse(account *entities.ZksAccount) *logical.Response
- func GetRequestNamespace(req *logical.Request) string
Constants ¶
      View Source
      
  
const ( PrivateKeyLabel = "privateKey" AccountIDLabel = "id" DataLabel = "data" NonceLabel = "nonce" ToLabel = "to" AmountLabel = "amount" GasPriceLabel = "gasPrice" GasLimitLabel = "gasLimit" ChainIDLabel = "chainID" PrivateFromLabel = "privateFrom" PrivateForLabel = "privateFor" PrivacyGroupIDLabel = "privacyGroupID" NamespaceHeader = "X-Vault-Namespace" )
Variables ¶
      View Source
      
  
    var AddressFieldSchema = &framework.FieldSchema{ Type: framework.TypeString, Description: "Address of the account", Required: true, }
      View Source
      
  
    var AmountFieldSchema = &framework.FieldSchema{ Type: framework.TypeString, Description: "Amount of ETH (in wei) to transfer", }
      View Source
      
  
    var ChainIDFieldSchema = &framework.FieldSchema{ Type: framework.TypeString, Description: "Network ID of the chain where the transaction will be deployed", Required: true, }
      View Source
      
  
    var DataFieldSchema = &framework.FieldSchema{ Type: framework.TypeString, Description: "Data of the transaction", }
      View Source
      
  
    var GasLimitFieldSchema = &framework.FieldSchema{ Type: framework.TypeInt, Description: "The gas limit for the transaction", Required: true, }
      View Source
      
  
    var GasPriceFieldSchema = &framework.FieldSchema{ Type: framework.TypeString, Description: "The gas price for the transaction (in wei)", Required: true, }
      View Source
      
  
    var NonceFieldSchema = &framework.FieldSchema{ Type: framework.TypeInt, Description: "Nonce of the transaction", Required: true, }
      View Source
      
  
    var PrivacyGroupIDFieldSchema = &framework.FieldSchema{ Type: framework.TypeString, Description: "EEA PrivacyGroupID address in base64 format", }
      View Source
      
  
    var PrivateForFieldSchema = &framework.FieldSchema{ Type: framework.TypeCommaStringSlice, Description: "EEA PrivateFor addresses in base64 format", }
      View Source
      
  
    var PrivateFromFieldSchema = &framework.FieldSchema{ Type: framework.TypeString, Description: "EEA PrivateFrom address in base64 format", }
      View Source
      
  
var ToFieldSchema = &framework.FieldSchema{ Type: framework.TypeString, Description: "Recipient of the transaction. Empty for contract deployments", }
Functions ¶
func FormatAccountResponse ¶
func FormatAccountResponse(account *entities.ETHAccount) *logical.Response
func FormatSignEEATransactionRequest ¶
func FormatSignEEATransactionRequest(requestData *framework.FieldData) (tx *types.Transaction, privateArgs *entities2.PrivateETHTransactionParams, err error)
func FormatSignETHTransactionRequest ¶
func FormatSignETHTransactionRequest(requestData *framework.FieldData) (*types.Transaction, error)
func FormatSignQuorumPrivateTransactionRequest ¶
func FormatSignQuorumPrivateTransactionRequest(requestData *framework.FieldData) (*quorumtypes.Transaction, error)
func FormatSignatureResponse ¶
func FormatZksAccountResponse ¶
func FormatZksAccountResponse(account *entities.ZksAccount) *logical.Response
func GetRequestNamespace ¶
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.