superxerox-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Bytes
Bytes
Like
Unsigned
Transaction
errors
Base
Contract
Big
Number
Contract
Contract
Factory
Fixed
Number
Signer
Void
Signer
Wallet
constructor
_is
Signer
_mnemonic
_signing
Key
address
provider
mnemonic
private
Key
public
Key
_check
Provider
_sign
Typed
Data
call
check
Transaction
connect
encrypt
estimate
Gas
get
Address
get
Balance
get
Chain
Id
get
Fee
Data
get
Gas
Price
get
Transaction
Count
populate
Transaction
resolve
Name
send
Transaction
sign
Message
sign
Transaction
create
Random
from
Encrypted
Json
from
Encrypted
Json
Sync
from
Mnemonic
is
Signer
Wordlist
Call
Overrides
Contract
Receipt
Contract
Transaction
Event
Overrides
Payable
Overrides
Populated
Transaction
Signature
Transaction
Big
Numberish
Contract
Function
Contract
Interface
Event
Filter
logger
version
wordlists
get
Default
Provider
Hierarchy
Signer
Wallet
Implements
ExternallyOwnedAccount
TypedDataSigner
Index
Constructors
constructor
Properties
_is
Signer
_mnemonic
_signing
Key
address
provider
Accessors
mnemonic
private
Key
public
Key
Methods
_check
Provider
_sign
Typed
Data
call
check
Transaction
connect
encrypt
estimate
Gas
get
Address
get
Balance
get
Chain
Id
get
Fee
Data
get
Gas
Price
get
Transaction
Count
populate
Transaction
resolve
Name
send
Transaction
sign
Message
sign
Transaction
create
Random
from
Encrypted
Json
from
Encrypted
Json
Sync
from
Mnemonic
is
Signer
Constructors
constructor
new
Wallet
(
privateKey
:
BytesLike
|
ExternallyOwnedAccount
|
SigningKey
, provider
?:
Provider
)
:
Wallet
Parameters
privateKey:
BytesLike
|
ExternallyOwnedAccount
|
SigningKey
Optional
provider:
Provider
Returns
Wallet
Properties
Readonly
_is
Signer
_is
Signer
:
boolean
Readonly
_mnemonic
_mnemonic
:
(
)
=>
Mnemonic
Type declaration
(
)
:
Mnemonic
Returns
Mnemonic
Readonly
_signing
Key
_signing
Key
:
(
)
=>
SigningKey
Type declaration
(
)
:
SigningKey
Returns
SigningKey
Readonly
address
address
:
string
Readonly
provider
provider
:
Provider
Accessors
mnemonic
get
mnemonic
(
)
:
Mnemonic
Returns
Mnemonic
private
Key
get
privateKey
(
)
:
string
Returns
string
public
Key
get
publicKey
(
)
:
string
Returns
string
Methods
_check
Provider
_check
Provider
(
operation
?:
string
)
:
void
Parameters
Optional
operation:
string
Returns
void
_sign
Typed
Data
_sign
Typed
Data
(
domain
:
TypedDataDomain
, types
:
Record
<
string
,
TypedDataField
[]
>
, value
:
Record
<
string
,
any
>
)
:
Promise
<
string
>
Parameters
domain:
TypedDataDomain
types:
Record
<
string
,
TypedDataField
[]
>
value:
Record
<
string
,
any
>
Returns
Promise
<
string
>
call
call
(
transaction
:
Deferrable
<
TransactionRequest
>
, blockTag
?:
BlockTag
)
:
Promise
<
string
>
Parameters
transaction:
Deferrable
<
TransactionRequest
>
Optional
blockTag:
BlockTag
Returns
Promise
<
string
>
check
Transaction
check
Transaction
(
transaction
:
Deferrable
<
TransactionRequest
>
)
:
Deferrable
<
TransactionRequest
>
Parameters
transaction:
Deferrable
<
TransactionRequest
>
Returns
Deferrable
<
TransactionRequest
>
connect
connect
(
provider
:
Provider
)
:
Wallet
Parameters
provider:
Provider
Returns
Wallet
encrypt
encrypt
(
password
:
string
|
Bytes
, options
?:
any
, progressCallback
?:
ProgressCallback
)
:
Promise
<
string
>
Parameters
password:
string
|
Bytes
Optional
options:
any
Optional
progressCallback:
ProgressCallback
Returns
Promise
<
string
>
estimate
Gas
estimate
Gas
(
transaction
:
Deferrable
<
TransactionRequest
>
)
:
Promise
<
BigNumber
>
Parameters
transaction:
Deferrable
<
TransactionRequest
>
Returns
Promise
<
BigNumber
>
get
Address
get
Address
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Balance
get
Balance
(
blockTag
?:
BlockTag
)
:
Promise
<
BigNumber
>
Parameters
Optional
blockTag:
BlockTag
Returns
Promise
<
BigNumber
>
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
?:
BlockTag
)
:
Promise
<
number
>
Parameters
Optional
blockTag:
BlockTag
Returns
Promise
<
number
>
populate
Transaction
populate
Transaction
(
transaction
:
Deferrable
<
TransactionRequest
>
)
:
Promise
<
TransactionRequest
>
Parameters
transaction:
Deferrable
<
TransactionRequest
>
Returns
Promise
<
TransactionRequest
>
resolve
Name
resolve
Name
(
name
:
string
)
:
Promise
<
string
>
Parameters
name:
string
Returns
Promise
<
string
>
send
Transaction
send
Transaction
(
transaction
:
Deferrable
<
TransactionRequest
>
)
:
Promise
<
TransactionResponse
>
Parameters
transaction:
Deferrable
<
TransactionRequest
>
Returns
Promise
<
TransactionResponse
>
sign
Message
sign
Message
(
message
:
string
|
Bytes
)
:
Promise
<
string
>
Parameters
message:
string
|
Bytes
Returns
Promise
<
string
>
sign
Transaction
sign
Transaction
(
transaction
:
TransactionRequest
)
:
Promise
<
string
>
Parameters
transaction:
TransactionRequest
Returns
Promise
<
string
>
Static
create
Random
create
Random
(
options
?:
any
)
:
Wallet
Static methods to create Wallet instances.
Parameters
Optional
options:
any
Returns
Wallet
Static
from
Encrypted
Json
from
Encrypted
Json
(
json
:
string
, password
:
string
|
Bytes
, progressCallback
?:
ProgressCallback
)
:
Promise
<
Wallet
>
Parameters
json:
string
password:
string
|
Bytes
Optional
progressCallback:
ProgressCallback
Returns
Promise
<
Wallet
>
Static
from
Encrypted
Json
Sync
from
Encrypted
Json
Sync
(
json
:
string
, password
:
string
|
Bytes
)
:
Wallet
Parameters
json:
string
password:
string
|
Bytes
Returns
Wallet
Static
from
Mnemonic
from
Mnemonic
(
mnemonic
:
string
, path
?:
string
, wordlist
?:
Wordlist
)
:
Wallet
Parameters
mnemonic:
string
Optional
path:
string
Optional
wordlist:
Wordlist
Returns
Wallet
Static
is
Signer
is
Signer
(
value
:
any
)
:
value
is
Signer
Parameters
value:
any
Returns
value
is
Signer
Generated using
TypeDoc
Static methods to create Wallet instances.