Search
Preparing search index...
The search index is not available
API Reference | Injective - Powering the future of decentralized finance.
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
API Reference | Injective - Powering the future of decentralized finance.
@injectivelabs/wallet-ts
internal
JsonRpcSigner
Class JsonRpcSigner
Hierarchy
Signer
JsonRpcSigner
UncheckedJsonRpcSigner
Implements
TypedDataSigner
Index
Constructors
constructor
Properties
_address
_index
_is
Signer
provider
Methods
_check
Provider
_legacy
Sign
Message
_sign
Typed
Data
call
check
Transaction
connect
connect
Unchecked
estimate
Gas
get
Address
get
Balance
get
Chain
Id
get
Fee
Data
get
Gas
Price
get
Transaction
Count
populate
Transaction
resolve
Name
send
Transaction
send
Unchecked
Transaction
sign
Message
sign
Transaction
unlock
is
Signer
Constructors
constructor
new
Json
Rpc
Signer
(
constructorGuard
:
any
, provider
:
JsonRpcProvider
, addressOrIndex
?:
string
|
number
)
:
JsonRpcSigner
Parameters
constructorGuard:
any
provider:
JsonRpcProvider
Optional
addressOrIndex:
string
|
number
Returns
JsonRpcSigner
Properties
_address
_address
:
string
_index
_index
:
number
Readonly
_is
Signer
_is
Signer
:
boolean
Readonly
provider
provider
:
JsonRpcProvider
Methods
_check
Provider
_check
Provider
(
operation
?:
string
)
:
void
Parameters
Optional
operation:
string
Returns
void
_legacy
Sign
Message
_legacy
Sign
Message
(
message
:
string
|
Bytes
)
:
Promise
<
string
>
Parameters
message:
string
|
Bytes
Returns
Promise
<
string
>
_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
)
:
JsonRpcSigner
Parameters
provider:
Provider
Returns
JsonRpcSigner
connect
Unchecked
connect
Unchecked
(
)
:
JsonRpcSigner
Returns
JsonRpcSigner
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
>
send
Unchecked
Transaction
send
Unchecked
Transaction
(
transaction
:
Deferrable
<
TransactionRequest
>
)
:
Promise
<
string
>
Parameters
transaction:
Deferrable
<
TransactionRequest
>
Returns
Promise
<
string
>
sign
Message
sign
Message
(
message
:
string
|
Bytes
)
:
Promise
<
string
>
Parameters
message:
string
|
Bytes
Returns
Promise
<
string
>
sign
Transaction
sign
Transaction
(
transaction
:
Deferrable
<
TransactionRequest
>
)
:
Promise
<
string
>
Parameters
transaction:
Deferrable
<
TransactionRequest
>
Returns
Promise
<
string
>
unlock
unlock
(
password
:
string
)
:
Promise
<
boolean
>
Parameters
password:
string
Returns
Promise
<
boolean
>
Static
is
Signer
is
Signer
(
value
:
any
)
:
value
is
Signer
Parameters
value:
any
Returns
value
is
Signer
Modules
@injectivelabs/sdk-
ts
@injectivelabs/wallet-
ts
Utils
Wallets
internal
Event
Emitter
Json
Rpc
Signer
constructor
_address
_index
_is
Signer
provider
_check
Provider
_legacy
Sign
Message
_sign
Typed
Data
call
check
Transaction
connect
connect
Unchecked
estimate
Gas
get
Address
get
Balance
get
Chain
Id
get
Fee
Data
get
Gas
Price
get
Transaction
Count
populate
Transaction
resolve
Name
send
Transaction
send
Unchecked
Transaction
sign
Message
sign
Transaction
unlock
is
Signer
Generated using
TypeDoc