Skip to content

@fuel-ts/interfaces v0.96.1Docs


Class: abstract AbstractAccount

Extended by

Constructors

new AbstractAccount()

new AbstractAccount(): AbstractAccount

Returns

AbstractAccount

Properties

address

abstract address: AbstractAddress

Defined in

index.ts:63


provider

abstract provider: unknown

Defined in

index.ts:64

Methods

fund()

abstract fund(transactionRequest, txCost): Promise<any>

Parameters

transactionRequest: any

txCost: any

Returns

Promise<any>

Defined in

index.ts:69


getResourcesToSpend()

abstract getResourcesToSpend(quantities, options?): any

Parameters

quantities: any[]

options?: any

Returns

any

Defined in

index.ts:65


getTransactionCost()

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

Parameters

transactionRequest: any

options?: any

Returns

Promise<any>

Defined in

index.ts:68


sendTransaction()

abstract sendTransaction(transactionRequest, options?): any

Parameters

transactionRequest: any

options?: any

Returns

any

Defined in

index.ts:66


simulateTransaction()

abstract simulateTransaction(transactionRequest, options?): any

Parameters

transactionRequest: any

options?: any

Returns

any

Defined in

index.ts:67