Signer: {
    address: Address;
    sign: ((parameters) => Promise<Hex>);
}

Represents a signer that can sign messages

Type declaration

  • address: Address

    The address of the signer

  • sign: ((parameters) => Promise<Hex>)

    Signs a message hash and returns the signature as a hex string

      • (parameters): Promise<Hex>
      • Parameters

        • parameters: {
              hash: Hash;
          }

        Returns Promise<Hex>