@oasisprotocol/client
Preparing search index...
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
TransactionWrapper
<
BODY
>
(
method
:
string
)
:
TransactionWrapper
<
BODY
>
Type Parameters
BODY
Parameters
method
:
string
Returns
TransactionWrapper
<
BODY
>
Properties
signed
Transaction
signedTransaction
:
SignatureSigned
transaction
transaction
:
ConsensusTransaction
Methods
estimate
Gas
estimateGas
(
nic
:
NodeInternal
,
signer
:
Uint8Array
)
:
Promise
<
longnum
>
Parameters
nic
:
NodeInternal
signer
:
Uint8Array
Returns
Promise
<
longnum
>
hash
hash
()
:
string
Returns
string
set
Body
setBody
(
body
:
BODY
)
:
TransactionWrapper
<
BODY
>
Parameters
body
:
BODY
Returns
TransactionWrapper
<
BODY
>
set
Fee
Amount
setFeeAmount
(
amount
:
Uint8Array
)
:
TransactionWrapper
<
BODY
>
Parameters
amount
:
Uint8Array
Returns
TransactionWrapper
<
BODY
>
set
Fee
Gas
setFeeGas
(
gas
:
longnum
)
:
TransactionWrapper
<
BODY
>
Parameters
gas
:
longnum
Returns
TransactionWrapper
<
BODY
>
set
Nonce
setNonce
(
nonce
:
longnum
)
:
TransactionWrapper
<
BODY
>
Parameters
nonce
:
longnum
Returns
TransactionWrapper
<
BODY
>
sign
sign
(
signer
:
ContextSigner
,
chainContext
:
string
)
:
Promise
<
void
>
Parameters
signer
:
ContextSigner
chainContext
:
string
Returns
Promise
<
void
>
submit
submit
(
nic
:
NodeInternal
)
:
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...