C# Class NearClientUnity.Signer

Exibir arquivo Open project: near/near-api-unity Class Usage Examples

Public Methods

Method Description
CreateKeyAsync ( string accountId, string networkId = "" ) : Task
GetPublicKeyAsync ( string accountId = "", string networkId = "" ) : Task
SignHashAsync ( Array hash, string accountId = "", string networkId = "" ) : Task
SignMessageAsync ( Array message, string accountId = "", string networkId = "" ) : Task

Method Details

CreateKeyAsync() public abstract method

public abstract CreateKeyAsync ( string accountId, string networkId = "" ) : Task
accountId string
networkId string
return Task

GetPublicKeyAsync() public abstract method

public abstract GetPublicKeyAsync ( string accountId = "", string networkId = "" ) : Task
accountId string
networkId string
return Task

SignHashAsync() public abstract method

public abstract SignHashAsync ( Array hash, string accountId = "", string networkId = "" ) : Task
hash Array
accountId string
networkId string
return Task

SignMessageAsync() public method

public SignMessageAsync ( Array message, string accountId = "", string networkId = "" ) : Task
message Array
accountId string
networkId string
return Task