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