Class: AbstractAccount
@fuel-ts/interfaces.AbstractAccount
Hierarchy
AbstractAccount
Constructors
constructor
• new AbstractAccount(): AbstractAccount
Returns
Properties
address
• Abstract
address: AbstractAddress
Defined in
index.ts:61
provider
• Abstract
provider: unknown
Defined in
index.ts:62
Methods
fund
▸ fund(transactionRequest
, txCost
): Promise
<any
>
Parameters
Name | Type |
---|---|
transactionRequest | any |
txCost | any |
Returns
Promise
<any
>
Defined in
index.ts:66
getResourcesToSpend
▸ getResourcesToSpend(quantities
, options?
): any
Parameters
Name | Type |
---|---|
quantities | any [] |
options? | any |
Returns
any
Defined in
index.ts:63
sendTransaction
▸ sendTransaction(transactionRequest
, options?
): any
Parameters
Name | Type |
---|---|
transactionRequest | any |
options? | any |
Returns
any
Defined in
index.ts:64
simulateTransaction
▸ simulateTransaction(transactionRequest
, options?
): any
Parameters
Name | Type |
---|---|
transactionRequest | any |
options? | any |
Returns
any
Defined in
index.ts:65