Class: EkcSigner
modules/signer.EkcSigner
Hierarchy
Signer
↳ EkcSigner
Implements
TypedDataSigner
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new EkcSigner(ekc
)
Parameters
Name | Type |
---|---|
ekc |
default |
Overrides
Signer.constructor
Properties
ekc
• ekc: default
provider
• provider: Provider
Overrides
Signer.provider
Methods
_signTypedData
▸ _signTypedData(): Promise
<string
>
Returns
Promise
<string
>
Implementation of
TypedDataSigner._signTypedData
connect
▸ connect(provider
): Signer
Parameters
Name | Type |
---|---|
provider |
Provider |
Returns
Signer
Overrides
Signer.connect
getAddress
▸ getAddress(): Promise
<string
>
Returns
Promise
<string
>
Overrides
Signer.getAddress
signMessage
▸ signMessage(message
): Promise
<string
>
Parameters
Name | Type |
---|---|
message |
string |
Returns
Promise
<string
>
Overrides
Signer.signMessage
signTransaction
▸ signTransaction(transaction
): Promise
<string
>
Parameters
Name | Type |
---|---|
transaction |
Deferrable <TransactionRequest > |
Returns
Promise
<string
>
Overrides
Signer.signTransaction
create
▸ Static
create(proxyUrl
): Promise
<EkcSigner
>
Parameters
Name | Type |
---|---|
proxyUrl |
string |
Returns
Promise
<EkcSigner
>