Flow.Net
Show / Hide Table of Contents

Class FlowAccountKey

A FlowAccountKey is a public and/or private key associated with an account.

Inheritance
Object
FlowAccountKey
Namespace: Flow.Net.Sdk.Core.Models
Assembly: Flow.Net.Sdk.Core.dll
Syntax
public class FlowAccountKey

Properties

| Improve this Doc View Source

HashAlgorithm

Declaration
public HashAlgo HashAlgorithm { get; set; }
Property Value
Type Description
HashAlgo
| Improve this Doc View Source

Index

Declaration
public uint Index { get; set; }
Property Value
Type Description
UInt32
| Improve this Doc View Source

PrivateKey

Declaration
public string PrivateKey { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

PublicKey

Declaration
public string PublicKey { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Revoked

Declaration
public bool Revoked { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

SequenceNumber

Declaration
public ulong SequenceNumber { get; set; }
Property Value
Type Description
UInt64
| Improve this Doc View Source

SignatureAlgorithm

Declaration
public SignatureAlgo SignatureAlgorithm { get; set; }
Property Value
Type Description
SignatureAlgo
| Improve this Doc View Source

Signer

Declaration
public ISigner Signer { get; set; }
Property Value
Type Description
ISigner
| Improve this Doc View Source

Weight

Declaration
public uint Weight { get; set; }
Property Value
Type Description
UInt32

Methods

| Improve this Doc View Source

GenerateRandomEcdsaKey(SignatureAlgo, HashAlgo, UInt32)

Generates a public and private ECDSA key pair with a random seed

Declaration
public static FlowAccountKey GenerateRandomEcdsaKey(SignatureAlgo signatureAlgo, HashAlgo hashAlgo, uint weight = 1000U)
Parameters
Type Name Description
SignatureAlgo signatureAlgo
HashAlgo hashAlgo
UInt32 weight
Returns
Type Description
FlowAccountKey

A FlowAccount

| Improve this Doc View Source

UpdateFlowAccountKeys(IList<FlowAccountKey>, IList<FlowAccountKey>)

Declaration
public static IList<FlowAccountKey> UpdateFlowAccountKeys(IList<FlowAccountKey> currentFlowAccountKeys, IList<FlowAccountKey> updatedFlowAccountKeys)
Parameters
Type Name Description
IList<FlowAccountKey> currentFlowAccountKeys
IList<FlowAccountKey> updatedFlowAccountKeys
Returns
Type Description
IList<FlowAccountKey>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX