Preparing search index...
The search index is not available
Dfns TypeScript SDK - v0.5.9
Dfns TypeScript SDK
@dfns/lib-ethersjs5
DfnsWallet
Class DfnsWallet
Hierarchy
Signer
DfnsWallet
Implements
TypedDataSigner
Index
Constructors
constructor
Properties
_is
Signer
address?
metadata?
options
provider?
Methods
_check
Provider
_sign
Typed
Data
call
check
Transaction
connect
estimate
Gas
get
Address
get
Balance
get
Cached
Metadata
get
Chain
Id
get
Fee
Data
get
Gas
Price
get
Transaction
Count
populate
Transaction
resolve
Name
send
Transaction
sign
Hash
sign
Message
sign
Transaction
init
is
Signer
Constructors
constructor
new
Dfns
Wallet
(
options
,
provider
?
)
:
DfnsWallet
Parameters
options
:
DfnsWalletOptions
Optional
provider
:
null
|
Provider
Returns
DfnsWallet
Deprecated
use DfnsWallet.init(options) instead
Properties
Readonly
_is
Signer
_is
Signer
:
boolean
Private
Optional
address
address
?:
string
Private
Optional
metadata
metadata
?:
WalletMetadata
Private
options
options
:
DfnsWalletOptions
Optional
Readonly
provider
provider
?:
Provider
Methods
_check
Provider
_check
Provider
(
operation
?
)
:
void
Parameters
Optional
operation
:
string
Returns
void
_sign
Typed
Data
_sign
Typed
Data
(
domain
,
types
,
value
)
:
Promise
<
string
>
Parameters
domain
:
TypedDataDomain
types
:
Record
<
string
,
TypedDataField
[]
>
value
:
Record
<
string
,
any
>
Returns
Promise
<
string
>
call
call
(
transaction
,
blockTag
?
)
:
Promise
<
string
>
Parameters
transaction
:
Deferrable
<
TransactionRequest
>
Optional
blockTag
:
BlockTag
Returns
Promise
<
string
>
check
Transaction
check
Transaction
(
transaction
)
:
Deferrable
<
TransactionRequest
>
Parameters
transaction
:
Deferrable
<
TransactionRequest
>
Returns
Deferrable
<
TransactionRequest
>
connect
connect
(
provider
)
:
Signer
Parameters
provider
:
null
|
Provider
Returns
Signer
estimate
Gas
estimate
Gas
(
transaction
)
:
Promise
<
BigNumber
>
Parameters
transaction
:
Deferrable
<
TransactionRequest
>
Returns
Promise
<
BigNumber
>
get
Address
get
Address
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Balance
get
Balance
(
blockTag
?
)
:
Promise
<
BigNumber
>
Parameters
Optional
blockTag
:
BlockTag
Returns
Promise
<
BigNumber
>
Private
get
Cached
Metadata
get
Cached
Metadata
(
)
:
Promise
<
WalletMetadata
>
Returns
Promise
<
WalletMetadata
>
get
Chain
Id
get
Chain
Id
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
get
Fee
Data
get
Fee
Data
(
)
:
Promise
<
FeeData
>
Returns
Promise
<
FeeData
>
get
Gas
Price
get
Gas
Price
(
)
:
Promise
<
BigNumber
>
Returns
Promise
<
BigNumber
>
get
Transaction
Count
get
Transaction
Count
(
blockTag
?
)
:
Promise
<
number
>
Parameters
Optional
blockTag
:
BlockTag
Returns
Promise
<
number
>
populate
Transaction
populate
Transaction
(
transaction
)
:
Promise
<
TransactionRequest
>
Parameters
transaction
:
Deferrable
<
TransactionRequest
>
Returns
Promise
<
TransactionRequest
>
resolve
Name
resolve
Name
(
name
)
:
Promise
<
string
>
Parameters
name
:
string
Returns
Promise
<
string
>
send
Transaction
send
Transaction
(
transaction
)
:
Promise
<
TransactionResponse
>
Parameters
transaction
:
Deferrable
<
TransactionRequest
>
Returns
Promise
<
TransactionResponse
>
Private
sign
Hash
sign
Hash
(
hash
)
:
Promise
<
string
>
Parameters
hash
:
string
Returns
Promise
<
string
>
sign
Message
sign
Message
(
message
)
:
Promise
<
string
>
Parameters
message
:
string
|
Uint8Array
Returns
Promise
<
string
>
sign
Transaction
sign
Transaction
(
transaction
)
:
Promise
<
string
>
Parameters
transaction
:
TransactionRequest
Returns
Promise
<
string
>
Static
init
init
(
options
)
:
Promise
<
DfnsWallet
>
Parameters
options
:
DfnsWalletOptions
Returns
Promise
<
DfnsWallet
>
Static
is
Signer
is
Signer
(
value
)
:
value
is
Signer
Parameters
value
:
any
Returns
value
is
Signer
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_is
Signer
address
metadata
options
provider
_check
Provider
_sign
Typed
Data
call
check
Transaction
connect
estimate
Gas
get
Address
get
Balance
get
Cached
Metadata
get
Chain
Id
get
Fee
Data
get
Gas
Price
get
Transaction
Count
populate
Transaction
resolve
Name
send
Transaction
sign
Hash
sign
Message
sign
Transaction
init
is
Signer
Dfns
Type
Script SDK -
v0.5.9
@dfns/lib-
algorand -
v0.5.9
@dfns/lib-
bitcoinjs -
v0.5.9
@dfns/lib-
cosmjs -
v0.5.9
@dfns/lib-
ethersjs5 -
v0.5.9
Dfns
Wallet
Dfns
Wallet
Options
@dfns/lib-
ethersjs6 -
v0.5.9
@dfns/lib-
meshsdk -
v0.5.9
@dfns/lib-
polkadot -
v0.5.9
@dfns/lib-
solana -
v0.5.9
@dfns/lib-
stellar -
v0.5.9
@dfns/lib-
taquito -
v0.5.9
@dfns/lib-
ton -
v0.5.9
@dfns/lib-
tron -
v0.5.9
@dfns/lib-
vechain -
v0.5.9
@dfns/lib-
viem -
v0.5.9
@dfns/lib-
xrpl -
v0.5.9
@dfns/sdk -
v0.5.9
@dfns/sdk-
awskmssigner -
v0.5.9
@dfns/sdk-
browser -
v0.5.9
@dfns/sdk-
keyexport-
utils -
v0.5.9
@dfns/sdk-
keyimport-
utils -
v0.5.9
@dfns/sdk-
keysigner -
v0.5.9
@dfns/sdk-
react-
native -
v0.5.9
Generated using
TypeDoc
Deprecated
use DfnsWallet.init(options) instead