CombinedSignersProvider

class EosSharp::Core::Providers::CombinedSignersProvider
  : public ISignProvider

Signature provider that combine multiple signature providers to complete all the signatures for a transaction.

Summary

MembersDescriptions

private List< ISignProvider> Signers

public CombinedSignersProvider(List< ISignProvider > signers)

Creates the provider with a list of signature providers.

public async Task< IEnumerable< string > > GetAvailableKeys()

Get available public keys from the list of signature providers.

public async Task< IEnumerable< string > > Sign(string chainId, IEnumerable< string > requiredKeys, byte[] signBytes, IEnumerable< string > abiNames)

Sign bytes using the list of signature providers.

public string Sign(string chainId, byte[] signBytes)

public Dictionary< string, string > Sign()

Members

private List< ISignProvider> Signers

public CombinedSignersProvider(List< ISignProvider > signers)

Creates the provider with a list of signature providers.

Parameters

  • signers

public async Task< IEnumerable< string > > GetAvailableKeys()

Get available public keys from the list of signature providers.

Returns

List of public keys

public async Task< IEnumerable< string > > Sign(string chainId, IEnumerable< string > requiredKeys, byte[] signBytes, IEnumerable< string > abiNames)

Sign bytes using the list of signature providers.

Parameters

  • chainId EOSIO Chain id

  • requiredKeys required public keys for signing this bytes

  • signBytes signature bytes

  • abiNames abi contract names to get abi information from

Returns

List of signatures per required keys

public string Sign(string chainId, byte[] signBytes)

public Dictionary< string, string > Sign()

Last updated