Class: Signer
helpers.Signer
Constructors
constructor
• new Signer()
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:30
Properties
_isSigner
• Readonly
_isSigner: boolean
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:29
provider
• Optional
Readonly
provider: Provider
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:24
Methods
_checkProvider
▸ _checkProvider(operation?
): void
Parameters
Name | Type |
---|---|
operation? | string |
Returns
void
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:42
call
▸ call(transaction
, blockTag?
): Promise
<string
>
Parameters
Name | Type |
---|---|
transaction | Deferrable <TransactionRequest > |
blockTag? | BlockTag |
Returns
Promise
<string
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:34
checkTransaction
▸ checkTransaction(transaction
): Deferrable
<TransactionRequest
>
Parameters
Name | Type |
---|---|
transaction | Deferrable <TransactionRequest > |
Returns
Deferrable
<TransactionRequest
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:40
connect
▸ Abstract
connect(provider
): Signer
Parameters
Name | Type |
---|---|
provider | Provider |
Returns
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:28
estimateGas
▸ estimateGas(transaction
): Promise
<BigNumber
>
Parameters
Name | Type |
---|---|
transaction | Deferrable <TransactionRequest > |
Returns
Promise
<BigNumber
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:33
getAddress
▸ Abstract
getAddress(): Promise
<string
>
Returns
Promise
<string
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:25
getBalance
▸ getBalance(blockTag?
): Promise
<BigNumber
>
Parameters
Name | Type |
---|---|
blockTag? | BlockTag |
Returns
Promise
<BigNumber
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:31
getChainId
▸ getChainId(): Promise
<number
>
Returns
Promise
<number
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:36
getFeeData
▸ getFeeData(): Promise
<FeeData
>
Returns
Promise
<FeeData
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:38
getGasPrice
▸ getGasPrice(): Promise
<BigNumber
>
Returns
Promise
<BigNumber
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:37
getTransactionCount
▸ getTransactionCount(blockTag?
): Promise
<number
>
Parameters
Name | Type |
---|---|
blockTag? | BlockTag |
Returns
Promise
<number
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:32
populateTransaction
▸ populateTransaction(transaction
): Promise
<TransactionRequest
>
Parameters
Name | Type |
---|---|
transaction | Deferrable <TransactionRequest > |
Returns
Promise
<TransactionRequest
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:41
resolveName
▸ resolveName(name
): Promise
<string
>
Parameters
Name | Type |
---|---|
name | string |
Returns
Promise
<string
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:39
sendTransaction
▸ sendTransaction(transaction
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
transaction | Deferrable <TransactionRequest > |
Returns
Promise
<TransactionResponse
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:35
signMessage
▸ Abstract
signMessage(message
): Promise
<string
>
Parameters
Name | Type |
---|---|
message | string | Bytes |
Returns
Promise
<string
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:26
signTransaction
▸ Abstract
signTransaction(transaction
): Promise
<string
>
Parameters
Name | Type |
---|---|
transaction | Deferrable <TransactionRequest > |
Returns
Promise
<string
>
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:27
isSigner
▸ Static
isSigner(value
): value is Signer
Parameters
Name | Type |
---|---|
value | any |
Returns
value is Signer
Defined in
@ethersproject/abstract-signer/lib/index.d.ts:43