Skip to content

@fuel-ts/interfaces v0.94.6Docs


Class: abstract AbstractAccount

Extended by

Constructors

new AbstractAccount()

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()

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

Parameters

transactionRequest: any

txCost: any

Returns

Promise<any>

Defined in

index.ts:67


getResourcesToSpend()

abstract getResourcesToSpend(quantities, options?): any

Parameters

quantities: any[]

options?: any

Returns

any

Defined in

index.ts:63


getTransactionCost()

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

Parameters

transactionRequest: any

options?: any

Returns

Promise<any>

Defined in

index.ts:66


sendTransaction()

abstract sendTransaction(transactionRequest, options?): any

Parameters

transactionRequest: any

options?: any

Returns

any

Defined in

index.ts:64


simulateTransaction()

abstract simulateTransaction(transactionRequest, options?): any

Parameters

transactionRequest: any

options?: any

Returns

any

Defined in

index.ts:65