github.com/koko1123/flow-go-1@v0.29.6/engine/access/rest/models/model_account_public_key.go (about)

     1  /*
     2   * Access API
     3   *
     4   * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
     5   *
     6   * API version: 1.0.0
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  package models
    10  
    11  type AccountPublicKey struct {
    12  	// Index of the public key.
    13  	Index string `json:"index"`
    14  	// Hex encoded public key.
    15  	PublicKey        string            `json:"public_key"`
    16  	SigningAlgorithm *SigningAlgorithm `json:"signing_algorithm"`
    17  	HashingAlgorithm *HashingAlgorithm `json:"hashing_algorithm"`
    18  	// Current account sequence number.
    19  	SequenceNumber string `json:"sequence_number"`
    20  	// Weight of the key.
    21  	Weight string `json:"weight"`
    22  	// Flag indicating whether the key is active or not.
    23  	Revoked bool `json:"revoked"`
    24  }