Skip to content

Class: AbstractAccount

@fuel-ts/interfaces.AbstractAccount

Hierarchy

  • AbstractAccount

Constructors

constructor

new AbstractAccount(): AbstractAccount

Returns

AbstractAccount

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

NameType
transactionRequestany
txCostany

Returns

Promise<any>

Defined in

index.ts:67


getResourcesToSpend

getResourcesToSpend(quantities, options?): any

Parameters

NameType
quantitiesany[]
options?any

Returns

any

Defined in

index.ts:63


getTransactionCost

getTransactionCost(transactionRequest, options?): Promise<any>

Parameters

NameType
transactionRequestany
options?any

Returns

Promise<any>

Defined in

index.ts:66


sendTransaction

sendTransaction(transactionRequest, options?): any

Parameters

NameType
transactionRequestany
options?any

Returns

any

Defined in

index.ts:64


simulateTransaction

simulateTransaction(transactionRequest, options?): any

Parameters

NameType
transactionRequestany
options?any

Returns

any

Defined in

index.ts:65