Preparing search index...
The search index is not available
@oasisprotocol/client
@oasisprotocol/client
consensus
TransactionWrapper
Class TransactionWrapper<BODY>
Type Parameters
BODY
Index
Constructors
constructor
Properties
signed
Transaction
transaction
Methods
estimate
Gas
hash
set
Body
set
Fee
Amount
set
Fee
Gas
set
Nonce
sign
submit
Constructors
constructor
new
Transaction
Wrapper
<
BODY
>
(
method
)
:
TransactionWrapper
<
BODY
>
Type Parameters
BODY
Parameters
method
:
string
Returns
TransactionWrapper
<
BODY
>
Properties
signed
Transaction
signed
Transaction
:
SignatureSigned
transaction
transaction
:
ConsensusTransaction
Methods
estimate
Gas
estimate
Gas
(
nic
,
signer
)
:
Promise
<
longnum
>
Parameters
nic
:
NodeInternal
signer
:
Uint8Array
Returns
Promise
<
longnum
>
hash
hash
(
)
:
string
Returns
string
set
Body
set
Body
(
body
)
:
TransactionWrapper
<
BODY
>
Parameters
body
:
BODY
Returns
TransactionWrapper
<
BODY
>
set
Fee
Amount
set
Fee
Amount
(
amount
)
:
TransactionWrapper
<
BODY
>
Parameters
amount
:
Uint8Array
Returns
TransactionWrapper
<
BODY
>
set
Fee
Gas
set
Fee
Gas
(
gas
)
:
TransactionWrapper
<
BODY
>
Parameters
gas
:
longnum
Returns
TransactionWrapper
<
BODY
>
set
Nonce
set
Nonce
(
nonce
)
:
TransactionWrapper
<
BODY
>
Parameters
nonce
:
longnum
Returns
TransactionWrapper
<
BODY
>
sign
sign
(
signer
,
chainContext
)
:
Promise
<
void
>
Parameters
signer
:
ContextSigner
chainContext
:
string
Returns
Promise
<
void
>
submit
submit
(
nic
)
:
Promise
<
void
>
Parameters
nic
:
NodeInternal
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
signed
Transaction
transaction
Methods
estimate
Gas
hash
set
Body
set
Fee
Amount
set
Fee
Gas
set
Nonce
sign
submit
@oasisprotocol/client
Loading...