Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
Account

@fuel-ts/account v0.94.2 • Docs


Icon Link@fuel-ts/account

Icon LinkType Aliases

Icon LinkAbiMap

Icon InfoCircle

AbiMap: Record<string, JsonAbi>

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:129 Icon Link


Icon LinkAccountEvent

Icon InfoCircle

AccountEvent: object

Event trigger when the current account on the connector is changed if the account is not authorized for the connection it should trigger with value null.

Icon LinkType declaration

Icon Linkdata

Icon InfoCircle

data: string | null

Icon Linktype

Icon InfoCircle

type: currentAccount

Icon LinkDefined in

packages/account/src/connectors/types/events.ts:40 Icon Link


Icon LinkAccountsEvent

Icon InfoCircle

AccountsEvent: object

Event trigger when the accounts available to the connection changes.

Icon LinkType declaration

Icon Linkdata

Icon InfoCircle

data: string[]

Icon Linktype

Icon InfoCircle

type: accounts

Icon LinkDefined in

packages/account/src/connectors/types/events.ts:28 Icon Link


Icon LinkAsset

Icon InfoCircle

Asset: object

Icon LinkType declaration

Icon Linkicon

Icon InfoCircle

icon: string

icon of the asset

Icon Linkname

Icon InfoCircle

name: string

name of the asset

Icon Linknetworks

Icon InfoCircle

networks: (NetworkEthereum | NetworkFuel )[]

asset id on Fuel Network

Icon Linksymbol

Icon InfoCircle

symbol: string

description of the asset

Icon LinkDefined in

packages/account/src/providers/assets/types.ts:25 Icon Link


Icon LinkAssetEth

Icon InfoCircle

AssetEth: Omit<Asset , "networks"> & NetworkEthereum

Icon LinkDefined in

packages/account/src/providers/assets/types.ts:38 Icon Link


Icon LinkAssetFuel

Icon InfoCircle

AssetFuel: Omit<Asset , "networks"> & NetworkFuel

Icon LinkDefined in

packages/account/src/providers/assets/types.ts:39 Icon Link


Icon LinkAssets

Icon InfoCircle

Assets: Asset []

Icon LinkDefined in

packages/account/src/providers/assets/types.ts:36 Icon Link


Icon LinkBlock

Icon InfoCircle

Block: object

A Fuel block

Icon LinkType declaration

Icon Linkheight

Icon InfoCircle

height: BN

Icon Linkid

Icon InfoCircle

id: string

Icon Linktime

Icon InfoCircle

time: string

Icon LinktransactionIds

Icon InfoCircle

transactionIds: string[]

Icon LinkDefined in

packages/account/src/providers/provider.ts:87 Icon Link


Icon LinkBlockHeader

Icon InfoCircle

BlockHeader: object

Icon LinkType declaration

Icon LinkapplicationHash

Icon InfoCircle

applicationHash: string

Icon LinkconsensusParametersVersion

Icon InfoCircle

consensusParametersVersion: number

Icon LinkdaHeight

Icon InfoCircle

daHeight: BN

Icon LinkeventInboxRoot

Icon InfoCircle

eventInboxRoot: string

Icon Linkheight

Icon InfoCircle

height: BN

Icon Linkid

Icon InfoCircle

id: string

Icon LinkmessageOutboxRoot

Icon InfoCircle

messageOutboxRoot: string

Icon LinkmessageReceiptCount

Icon InfoCircle

messageReceiptCount: number

Icon LinkprevRoot

Icon InfoCircle

prevRoot: string

Icon LinkstateTransitionBytecodeVersion

Icon InfoCircle

stateTransitionBytecodeVersion: number

Icon Linktime

Icon InfoCircle

time: string

Icon LinktransactionsCount

Icon InfoCircle

transactionsCount: number

Icon LinktransactionsRoot

Icon InfoCircle

transactionsRoot: string

Icon LinkDefined in

packages/account/src/providers/message.ts:37 Icon Link


Icon LinkBlockId

Icon InfoCircle

BlockId: SuccessStatus ["block"]["id"] | FailureStatus ["block"]["id"]

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:27 Icon Link


Icon LinkBurnedAsset

Icon InfoCircle

BurnedAsset: MintedAsset

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:158 Icon Link


Icon LinkCacheFor

Icon InfoCircle

CacheFor: object

Icon LinkIndex Signature

[key: string]: object | null

Icon LinkDefined in

packages/account/src/connectors/utils/cache.ts:3 Icon Link


Icon LinkCalculateTXFeeForSummaryParams

Icon InfoCircle

CalculateTXFeeForSummaryParams: object

Icon LinkType declaration

Icon LinkconsensusParameters

Icon InfoCircle

consensusParameters: Pick<ConsensusParameters , "gasCosts"> & object

Icon LinkType declaration

Icon LinkfeeParams

Icon InfoCircle

feeParams: FeeParams

Icon LinkmaxGasPerTx

Icon InfoCircle

maxGasPerTx: BN

Icon LinkgasPrice

Icon InfoCircle

gasPrice: BN

Icon LinkrawPayload

Icon InfoCircle

rawPayload: string

Icon Linktip

Icon InfoCircle

tip: BN

Icon LinktotalFee?

Icon InfoCircle

optional totalFee: BN

Icon LinkDefined in

packages/account/src/providers/transaction-summary/calculate-tx-fee-for-summary.ts:24 Icon Link


Icon LinkCallResult

Icon InfoCircle

CallResult: object

Icon LinkType declaration

Icon LinkdryRunStatus?

Icon InfoCircle

optional dryRunStatus: DryRunStatus

Icon Linkreceipts

Icon InfoCircle

receipts: TransactionResultReceipt[]

Icon LinkDefined in

packages/account/src/providers/provider.ts:74 Icon Link


Icon LinkChainInfo

Icon InfoCircle

ChainInfo: object

Chain information

Icon LinkType declaration

Icon LinkbaseChainHeight

Icon InfoCircle

baseChainHeight: BN

Icon LinkconsensusParameters

Icon InfoCircle

consensusParameters: ConsensusParameters

Icon LinklatestBlock

Icon InfoCircle

latestBlock: object

Icon LinklatestBlock.height

Icon InfoCircle

latestBlock.height: BN

Icon LinklatestBlock.id

Icon InfoCircle

latestBlock.id: string

Icon LinklatestBlock.time

Icon InfoCircle

latestBlock.time: string

Icon LinklatestBlock.transactions

Icon InfoCircle

latestBlock.transactions: object[]

Icon Linkname

Icon InfoCircle

name: string

Icon LinkDefined in

packages/account/src/providers/provider.ts:154 Icon Link


Icon LinkChangeTransactionRequestOutput

Icon InfoCircle

ChangeTransactionRequestOutput: object

Icon LinkType declaration

Icon LinkassetId

Icon InfoCircle

assetId: BytesLike

Asset ID of coins

Icon Linkto

Icon InfoCircle

to: BytesLike

Receiving address or script hash

Icon Linktype

Icon InfoCircle

type: OutputType.Change

Icon LinkDefined in

packages/account/src/providers/transaction-request/output.ts:24 Icon Link


Icon LinkCoin

Icon InfoCircle

Coin: object

A Fuel coin

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: BN

Icon LinkassetId

Icon InfoCircle

assetId: string

Icon LinkblockCreated

Icon InfoCircle

blockCreated: BN

Icon Linkid

Icon InfoCircle

id: string

Icon Linkowner

Icon InfoCircle

owner: AbstractAddress

Icon Linkpredicate?

Icon InfoCircle

optional predicate: BytesLike

Icon LinkpredicateData?

Icon InfoCircle

optional predicateData: BytesLike

Icon LinktxCreatedIdx

Icon InfoCircle

txCreatedIdx: BN

Icon LinkDefined in

packages/account/src/providers/coin.ts:7 Icon Link


Icon LinkCoinQuantity

Icon InfoCircle

CoinQuantity: object

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: BN

Icon LinkassetId

Icon InfoCircle

assetId: string

Icon Linkmax?

Icon InfoCircle

optional max: BN

Icon LinkDefined in

packages/account/src/providers/coin-quantity.ts:9 Icon Link


Icon LinkCoinQuantityLike

Icon InfoCircle

CoinQuantityLike: [BigNumberish, BytesLike , BigNumberish] | object

Icon LinkDefined in

packages/account/src/providers/coin-quantity.ts:6 Icon Link


Icon LinkCoinTransactionRequestInput

Icon InfoCircle

CoinTransactionRequestInput: object

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: BigNumberish

Amount of coins

Icon LinkassetId

Icon InfoCircle

assetId: BytesLike

Asset ID of the coins

Icon Linkid

Icon InfoCircle

id: BytesLike

UTXO ID

Icon Linkowner

Icon InfoCircle

owner: BytesLike

Owning address or script hash

Icon Linkpredicate?

Icon InfoCircle

optional predicate: BytesLike

Predicate bytecode

Icon LinkpredicateData?

Icon InfoCircle

optional predicateData: BytesLike

Predicate input data (parameters)

Icon LinkpredicateGasUsed?

Icon InfoCircle

optional predicateGasUsed: BigNumberish

Gas used by predicate

Icon LinktxPointer

Icon InfoCircle

txPointer: BytesLike

Points to the TX whose output is being spent. (TxPointer)

Icon Linktype

Icon InfoCircle

type: InputType.Coin

Icon LinkwitnessIndex

Icon InfoCircle

witnessIndex: number

Index of witness that authorizes spending the coin

Icon LinkDefined in

packages/account/src/providers/transaction-request/input.ts:11 Icon Link


Icon LinkCoinTransactionRequestOutput

Icon InfoCircle

CoinTransactionRequestOutput: object

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: BigNumberish

Amount of coins to send

Icon LinkassetId

Icon InfoCircle

assetId: BytesLike

Asset ID of coins

Icon Linkto

Icon InfoCircle

to: BytesLike

Receiving address or script hash

Icon Linktype

Icon InfoCircle

type: OutputType.Coin

Icon LinkDefined in

packages/account/src/providers/transaction-request/output.ts:10 Icon Link


Icon LinkConnectorMetadata

Icon InfoCircle

ConnectorMetadata: object

Icon LinkType declaration

Icon Linkimage?

Icon InfoCircle

optional image: string | object

Icon Linkinstall

Icon InfoCircle

install: object

Icon Linkinstall.action

Icon InfoCircle

install.action: string

Icon Linkinstall.description

Icon InfoCircle

install.description: string

Icon InfoCircle

install.link: string

Icon LinkDefined in

packages/account/src/connectors/types/connector-metadata.ts:2 Icon Link


Icon LinkConsensusParameters

Icon InfoCircle

ConsensusParameters: object

Icon LinkType declaration

Icon LinkbaseAssetId

Icon InfoCircle

baseAssetId: string

Icon LinkchainId

Icon InfoCircle

chainId: BN

Icon LinkcontractParameters

Icon InfoCircle

contractParameters: ModifyStringToBN<ContractParameters >

Icon LinkfeeParameters

Icon InfoCircle

feeParameters: ModifyStringToBN<FeeParameters >

Icon LinkgasCosts

Icon InfoCircle

gasCosts: GasCosts

Icon LinkpredicateParameters

Icon InfoCircle

predicateParameters: ModifyStringToBN<PredicateParameters >

Icon LinkscriptParameters

Icon InfoCircle

scriptParameters: ModifyStringToBN<ScriptParameters >

Icon LinktxParameters

Icon InfoCircle

txParameters: ModifyStringToBN<TxParameters >

Icon Linkversion

Icon InfoCircle

version: GqlConsensusParametersVersion

Icon LinkDefined in

packages/account/src/providers/provider.ts:139 Icon Link


Icon LinkContractCreatedTransactionRequestOutput

Icon InfoCircle

ContractCreatedTransactionRequestOutput: object

Icon LinkType declaration

Icon LinkcontractId

Icon InfoCircle

contractId: BytesLike

Contract ID

Icon LinkstateRoot

Icon InfoCircle

stateRoot: BytesLike

State Root

Icon Linktype

Icon InfoCircle

type: OutputType.ContractCreated

Icon LinkDefined in

packages/account/src/providers/transaction-request/output.ts:34 Icon Link


Icon LinkContractParameters

Icon InfoCircle

ContractParameters: object

Icon LinkType declaration

Icon LinkcontractMaxSize

Icon InfoCircle

contractMaxSize: Scalars["U64"]["output"]

Icon LinkmaxStorageSlots

Icon InfoCircle

maxStorageSlots: Scalars["U64"]["output"]

Icon Linkversion

Icon InfoCircle

version: GqlContractParametersVersion

Icon LinkDefined in

packages/account/src/providers/__generated__/operations.ts:235


Icon LinkContractResult

Icon InfoCircle

ContractResult: object

Deployed Contract bytecode and contract id

Icon LinkType declaration

Icon Linkbytecode

Icon InfoCircle

bytecode: string

Icon Linkid

Icon InfoCircle

id: string

Icon LinkDefined in

packages/account/src/providers/provider.ts:121 Icon Link


Icon LinkContractTransactionRequestInput

Icon InfoCircle

ContractTransactionRequestInput: object

Icon LinkType declaration

Icon LinkcontractId

Icon InfoCircle

contractId: BytesLike

Contract ID

Icon LinktxPointer

Icon InfoCircle

txPointer: BytesLike

Points to the TX whose output is being spent. (TxPointer)

Icon Linktype

Icon InfoCircle

type: InputType.Contract

Icon LinkDefined in

packages/account/src/providers/transaction-request/input.ts:73 Icon Link


Icon LinkContractTransactionRequestOutput

Icon InfoCircle

ContractTransactionRequestOutput: object

Icon LinkType declaration

Icon LinkinputIndex

Icon InfoCircle

inputIndex: number

Index of input contract

Icon Linktype

Icon InfoCircle

type: OutputType.Contract

Icon LinkDefined in

packages/account/src/providers/transaction-request/output.ts:19 Icon Link


Icon LinkDeferPromise<R>

Icon InfoCircle

DeferPromise<R>: object

Icon LinkType Parameters

• R = unknown

Icon LinkType declaration

Icon Linkpromise

Icon InfoCircle

promise: Promise<R>

Icon Linkreject()

Icon InfoCircle

reject: (error) => void

Icon LinkParameters

• error: unknown

Icon LinkReturns

void

Icon Linkresolve()

Icon InfoCircle

resolve: (value) => void

Icon LinkParameters

• value: R

Icon LinkReturns

void

Icon LinkDefined in

packages/account/src/connectors/utils/promises.ts:5 Icon Link


Icon LinkDryRunFailureStatusFragment

Icon InfoCircle

DryRunFailureStatusFragment: GqlDryRunFailureStatusFragment

Icon LinkDefined in

packages/account/src/providers/provider.ts:69 Icon Link


Icon LinkDryRunStatus

Icon InfoCircle

DryRunStatus: DryRunFailureStatusFragment | DryRunSuccessStatusFragment

Icon LinkDefined in

packages/account/src/providers/provider.ts:72 Icon Link


Icon LinkDryRunSuccessStatusFragment

Icon InfoCircle

DryRunSuccessStatusFragment: GqlDryRunSuccessStatusFragment

Icon LinkDefined in

packages/account/src/providers/provider.ts:70 Icon Link


Icon LinkEstimateTransactionParams

Icon InfoCircle

EstimateTransactionParams: object

Transaction estimation params

Icon LinkType declaration

Icon LinkestimateTxDependencies?

Icon InfoCircle

optional estimateTxDependencies: boolean

Estimate the transaction dependencies.

Icon LinkDefined in

packages/account/src/providers/provider.ts:328 Icon Link


Icon LinkEstimateTxDependenciesReturns

Icon InfoCircle

EstimateTxDependenciesReturns: CallResult & object

Icon LinkType declaration

Icon LinkmissingContractIds

Icon InfoCircle

missingContractIds: string[]

Icon LinkoutputVariables

Icon InfoCircle

outputVariables: number

Icon LinkDefined in

packages/account/src/providers/provider.ts:79 Icon Link


Icon LinkEstimatedTxParams

Icon InfoCircle

EstimatedTxParams: Pick<TransactionCost , "estimatedPredicates" | "addedSignatures" | "requiredQuantities" | "updateMaxFee" | "gasPrice">

Icon LinkDefined in

packages/account/src/account.ts:60 Icon Link


Icon LinkFailureStatus

Icon InfoCircle

FailureStatus: GqlFailureStatusFragment

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:20 Icon Link


Icon LinkFakeResources

Icon InfoCircle

FakeResources: Partial<Coin > & Required<Pick<Coin , "amount" | "assetId">>

Icon LinkDefined in

packages/account/src/account.ts:66 Icon Link


Icon LinkFeeParameters

Icon InfoCircle

FeeParameters: object

Icon LinkType declaration

Icon LinkgasPerByte

Icon InfoCircle

gasPerByte: Scalars["U64"]["output"]

Icon LinkgasPriceFactor

Icon InfoCircle

gasPriceFactor: Scalars["U64"]["output"]

Icon Linkversion

Icon InfoCircle

version: GqlFeeParametersVersion

Icon LinkDefined in

packages/account/src/providers/__generated__/operations.ts:294


Icon LinkFuelABI

Icon InfoCircle

FuelABI: JsonAbi

ABI that represents a binary code interface from Sway.

Read more at: https://docs.fuel.network/docs/specs/abi/json-abi-format/ Icon Link

Icon LinkDefined in

packages/account/src/connectors/types/data-type.ts:36 Icon Link


Icon LinkFuelConfig

Icon InfoCircle

FuelConfig: object

Icon LinkType declaration

Icon Linkconnectors?

Icon InfoCircle

optional connectors: FuelConnector []

Icon Linkstorage?

Icon InfoCircle

optional storage: StorageAbstract | null

Icon LinktargetObject?

Icon InfoCircle

optional targetObject: TargetObject

Icon LinkDefined in

packages/account/src/connectors/fuel.ts:30 Icon Link


Icon LinkFuelConnectorEvents

Icon InfoCircle

FuelConnectorEvents: ConnectionEvent | NetworkEvent | NetworksEvent | AccountEvent | AccountsEvent | ConnectorsEvent | ConnectorEvent | AssetsEvent

All the events available to the connector.

Icon LinkDefined in

packages/account/src/connectors/types/events.ts:122 Icon Link


Icon LinkFuelConnectorEventsType

Icon InfoCircle

FuelConnectorEventsType: FuelConnectorEvents ["type"]

Icon LinkDefined in

packages/account/src/connectors/types/events.ts:132 Icon Link


Icon LinkFuelConnectorSelectOptions

Icon InfoCircle

FuelConnectorSelectOptions: object

Icon LinkType declaration

Icon LinkemitEvents?

Icon InfoCircle

optional emitEvents: boolean

Icon LinkDefined in

packages/account/src/connectors/fuel.ts:36 Icon Link


Icon LinkFuelEventArg<T>

Icon InfoCircle

FuelEventArg<T>: Extract<FuelConnectorEventTypes , object>["data"]

Extract the event argument type from the event type.

Icon LinkType Parameters

• T extends FuelConnectorEvents ["type"]

Icon LinkDefined in

packages/account/src/connectors/types/events.ts:16 Icon Link


Icon LinkGasCosts

Icon InfoCircle

GasCosts: object

Icon LinkType declaration

Icon Linkadd

Icon InfoCircle

add: Scalars["U64"]["output"]

Icon Linkaddi

Icon InfoCircle

addi: Scalars["U64"]["output"]

Icon Linkaloc

Icon InfoCircle

aloc: Scalars["U64"]["output"]

Icon LinkalocDependentCost

Icon InfoCircle

alocDependentCost: GqlDependentCost

Icon Linkand

Icon InfoCircle

and: Scalars["U64"]["output"]

Icon Linkandi

Icon InfoCircle

andi: Scalars["U64"]["output"]

Icon Linkbal

Icon InfoCircle

bal: Scalars["U64"]["output"]

Icon Linkbhei

Icon InfoCircle

bhei: Scalars["U64"]["output"]

Icon Linkbhsh

Icon InfoCircle

bhsh: Scalars["U64"]["output"]

Icon Linkbldd?

Icon InfoCircle

optional bldd: Maybe<GqlDependentCost>

Icon Linkbsiz?

Icon InfoCircle

optional bsiz: Maybe<GqlDependentCost>

Icon Linkburn

Icon InfoCircle

burn: Scalars["U64"]["output"]

Icon Linkcall

Icon InfoCircle

call: GqlDependentCost

Icon Linkcb

Icon InfoCircle

cb: Scalars["U64"]["output"]

Icon Linkccp

Icon InfoCircle

ccp: GqlDependentCost

Icon Linkcfe

Icon InfoCircle

cfe: GqlDependentCost

Icon Linkcfei

Icon InfoCircle

cfei: Scalars["U64"]["output"]

Icon LinkcfeiDependentCost

Icon InfoCircle

cfeiDependentCost: GqlDependentCost

Icon Linkcfsi

Icon InfoCircle

cfsi: Scalars["U64"]["output"]

Icon LinkcontractRoot

Icon InfoCircle

contractRoot: GqlDependentCost

Icon Linkcroo

Icon InfoCircle

croo: GqlDependentCost

Icon Linkcsiz

Icon InfoCircle

csiz: GqlDependentCost

Icon Linkdiv

Icon InfoCircle

div: Scalars["U64"]["output"]

Icon Linkdivi

Icon InfoCircle

divi: Scalars["U64"]["output"]

Icon Linkeck1

Icon InfoCircle

eck1: Scalars["U64"]["output"]

Icon Linkecr1

Icon InfoCircle

ecr1: Scalars["U64"]["output"]

Icon Linked19

Icon InfoCircle

ed19: Scalars["U64"]["output"]

Icon Linked19DependentCost

Icon InfoCircle

ed19DependentCost: GqlDependentCost

Icon Linkeq

Icon InfoCircle

eq: Scalars["U64"]["output"]

Icon Linkexp

Icon InfoCircle

exp: Scalars["U64"]["output"]

Icon Linkexpi

Icon InfoCircle

expi: Scalars["U64"]["output"]

Icon Linkflag

Icon InfoCircle

flag: Scalars["U64"]["output"]

Icon Linkgm

Icon InfoCircle

gm: Scalars["U64"]["output"]

Icon Linkgt

Icon InfoCircle

gt: Scalars["U64"]["output"]

Icon Linkgtf

Icon InfoCircle

gtf: Scalars["U64"]["output"]

Icon Linkji

Icon InfoCircle

ji: Scalars["U64"]["output"]

Icon Linkjmp

Icon InfoCircle

jmp: Scalars["U64"]["output"]

Icon Linkjmpb

Icon InfoCircle

jmpb: Scalars["U64"]["output"]

Icon Linkjmpf

Icon InfoCircle

jmpf: Scalars["U64"]["output"]

Icon Linkjne

Icon InfoCircle

jne: Scalars["U64"]["output"]

Icon Linkjneb

Icon InfoCircle

jneb: Scalars["U64"]["output"]

Icon Linkjnef

Icon InfoCircle

jnef: Scalars["U64"]["output"]

Icon Linkjnei

Icon InfoCircle

jnei: Scalars["U64"]["output"]

Icon Linkjnzb

Icon InfoCircle

jnzb: Scalars["U64"]["output"]

Icon Linkjnzf

Icon InfoCircle

jnzf: Scalars["U64"]["output"]

Icon Linkjnzi

Icon InfoCircle

jnzi: Scalars["U64"]["output"]

Icon Linkk256

Icon InfoCircle

k256: GqlDependentCost

Icon Linklb

Icon InfoCircle

lb: Scalars["U64"]["output"]

Icon Linkldc

Icon InfoCircle

ldc: GqlDependentCost

Icon Linklog

Icon InfoCircle

log: Scalars["U64"]["output"]

Icon Linklogd

Icon InfoCircle

logd: GqlDependentCost

Icon Linklt

Icon InfoCircle

lt: Scalars["U64"]["output"]

Icon Linklw

Icon InfoCircle

lw: Scalars["U64"]["output"]

Icon Linkmcl

Icon InfoCircle

mcl: GqlDependentCost

Icon Linkmcli

Icon InfoCircle

mcli: GqlDependentCost

Icon Linkmcp

Icon InfoCircle

mcp: GqlDependentCost

Icon Linkmcpi

Icon InfoCircle

mcpi: GqlDependentCost

Icon Linkmeq

Icon InfoCircle

meq: GqlDependentCost

Icon Linkmint

Icon InfoCircle

mint: Scalars["U64"]["output"]

Icon Linkmldv

Icon InfoCircle

mldv: Scalars["U64"]["output"]

Icon Linkmlog

Icon InfoCircle

mlog: Scalars["U64"]["output"]

Icon LinkmodOp

Icon InfoCircle

modOp: Scalars["U64"]["output"]

Icon Linkmodi

Icon InfoCircle

modi: Scalars["U64"]["output"]

Icon LinkmoveOp

Icon InfoCircle

moveOp: Scalars["U64"]["output"]

Icon Linkmovi

Icon InfoCircle

movi: Scalars["U64"]["output"]

Icon Linkmroo

Icon InfoCircle

mroo: Scalars["U64"]["output"]

Icon Linkmul

Icon InfoCircle

mul: Scalars["U64"]["output"]

Icon Linkmuli

Icon InfoCircle

muli: Scalars["U64"]["output"]

Icon LinknewStoragePerByte

Icon InfoCircle

newStoragePerByte: Scalars["U64"]["output"]

Icon Linknoop

Icon InfoCircle

noop: Scalars["U64"]["output"]

Icon Linknot

Icon InfoCircle

not: Scalars["U64"]["output"]

Icon Linkor

Icon InfoCircle

or: Scalars["U64"]["output"]

Icon Linkori

Icon InfoCircle

ori: Scalars["U64"]["output"]

Icon Linkpoph

Icon InfoCircle

poph: Scalars["U64"]["output"]

Icon Linkpopl

Icon InfoCircle

popl: Scalars["U64"]["output"]

Icon Linkpshh

Icon InfoCircle

pshh: Scalars["U64"]["output"]

Icon Linkpshl

Icon InfoCircle

pshl: Scalars["U64"]["output"]

Icon Linkret

Icon InfoCircle

ret: Scalars["U64"]["output"]

Icon Linkretd

Icon InfoCircle

retd: GqlDependentCost

Icon Linkrvrt

Icon InfoCircle

rvrt: Scalars["U64"]["output"]

Icon Links256

Icon InfoCircle

s256: GqlDependentCost

Icon Linksb

Icon InfoCircle

sb: Scalars["U64"]["output"]

Icon Linkscwq

Icon InfoCircle

scwq: GqlDependentCost

Icon Linksll

Icon InfoCircle

sll: Scalars["U64"]["output"]

Icon Linkslli

Icon InfoCircle

slli: Scalars["U64"]["output"]

Icon Linksmo

Icon InfoCircle

smo: GqlDependentCost

Icon Linksrl

Icon InfoCircle

srl: Scalars["U64"]["output"]

Icon Linksrli

Icon InfoCircle

srli: Scalars["U64"]["output"]

Icon Linksrw

Icon InfoCircle

srw: Scalars["U64"]["output"]

Icon Linksrwq

Icon InfoCircle

srwq: GqlDependentCost

Icon LinkstateRoot

Icon InfoCircle

stateRoot: GqlDependentCost

Icon Linksub

Icon InfoCircle

sub: Scalars["U64"]["output"]

Icon Linksubi

Icon InfoCircle

subi: Scalars["U64"]["output"]

Icon Linksw

Icon InfoCircle

sw: Scalars["U64"]["output"]

Icon Linksww

Icon InfoCircle

sww: Scalars["U64"]["output"]

Icon Linkswwq

Icon InfoCircle

swwq: GqlDependentCost

Icon Linktime

Icon InfoCircle

time: Scalars["U64"]["output"]

Icon Linktr

Icon InfoCircle

tr: Scalars["U64"]["output"]

Icon Linktro

Icon InfoCircle

tro: Scalars["U64"]["output"]

Icon Linkversion

Icon InfoCircle

version: GqlGasCostsVersion

Icon LinkvmInitialization

Icon InfoCircle

vmInitialization: GqlDependentCost

Icon Linkwdam

Icon InfoCircle

wdam: Scalars["U64"]["output"]

Icon Linkwdcm

Icon InfoCircle

wdcm: Scalars["U64"]["output"]

Icon Linkwddv

Icon InfoCircle

wddv: Scalars["U64"]["output"]

Icon Linkwdmd

Icon InfoCircle

wdmd: Scalars["U64"]["output"]

Icon Linkwdml

Icon InfoCircle

wdml: Scalars["U64"]["output"]

Icon Linkwdmm

Icon InfoCircle

wdmm: Scalars["U64"]["output"]

Icon Linkwdop

Icon InfoCircle

wdop: Scalars["U64"]["output"]

Icon Linkwqam

Icon InfoCircle

wqam: Scalars["U64"]["output"]

Icon Linkwqcm

Icon InfoCircle

wqcm: Scalars["U64"]["output"]

Icon Linkwqdv

Icon InfoCircle

wqdv: Scalars["U64"]["output"]

Icon Linkwqmd

Icon InfoCircle

wqmd: Scalars["U64"]["output"]

Icon Linkwqml

Icon InfoCircle

wqml: Scalars["U64"]["output"]

Icon Linkwqmm

Icon InfoCircle

wqmm: Scalars["U64"]["output"]

Icon Linkwqop

Icon InfoCircle

wqop: Scalars["U64"]["output"]

Icon Linkxor

Icon InfoCircle

xor: Scalars["U64"]["output"]

Icon Linkxori

Icon InfoCircle

xori: Scalars["U64"]["output"]

Icon LinkDefined in

packages/account/src/providers/__generated__/operations.ts:304


Icon LinkGetAssetNetworkParams<T>

Icon InfoCircle

GetAssetNetworkParams<T>: object

Icon LinkType Parameters

• T extends NetworkTypes | undefined

Icon LinkType declaration

Icon Linkasset

Icon InfoCircle

asset: Asset

Icon LinkchainId?

Icon InfoCircle

optional chainId: number

Icon LinknetworkType

Icon InfoCircle

networkType: T

Icon LinkDefined in

packages/account/src/providers/assets/utils/network.ts:22 Icon Link


Icon LinkGetBalancesResponse

Icon InfoCircle

GetBalancesResponse: object

Icon LinkType declaration

Icon Linkbalances

Icon InfoCircle

balances: CoinQuantity []

Icon LinkDefined in

packages/account/src/providers/provider.ts:104 Icon Link


Icon LinkGetBlocksResponse

Icon InfoCircle

GetBlocksResponse: object

Icon LinkType declaration

Icon Linkblocks

Icon InfoCircle

blocks: Block []

Icon LinkpageInfo

Icon InfoCircle

pageInfo: GqlPageInfo

Icon LinkDefined in

packages/account/src/providers/provider.ts:113 Icon Link


Icon LinkGetCoinsResponse

Icon InfoCircle

GetCoinsResponse: object

Icon LinkType declaration

Icon Linkcoins

Icon InfoCircle

coins: Coin []

Icon LinkpageInfo

Icon InfoCircle

pageInfo: GqlPageInfo

Icon LinkDefined in

packages/account/src/providers/provider.ts:94 Icon Link


Icon LinkGetMessagesResponse

Icon InfoCircle

GetMessagesResponse: object

Icon LinkType declaration

Icon Linkmessages

Icon InfoCircle

messages: Message []

Icon LinkpageInfo

Icon InfoCircle

pageInfo: GqlPageInfo

Icon LinkDefined in

packages/account/src/providers/provider.ts:99 Icon Link


Icon LinkGetOperationParams

Icon InfoCircle

GetOperationParams: object & InputOutputParam & ReceiptParam & RawPayloadParam

Icon LinkType declaration

Icon LinkabiMap?

Icon InfoCircle

optional abiMap: AbiMap

Icon LinkbaseAssetId

Icon InfoCircle

baseAssetId: string

Icon LinkmaxInputs

Icon InfoCircle

maxInputs: BN

Icon LinktransactionType

Icon InfoCircle

transactionType: TransactionType

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:142 Icon Link


Icon LinkGetTransactionsResponse

Icon InfoCircle

GetTransactionsResponse: object

Icon LinkType declaration

Icon LinkpageInfo

Icon InfoCircle

pageInfo: GqlPageInfo

Icon Linktransactions

Icon InfoCircle

transactions: Transaction[]

Icon LinkDefined in

packages/account/src/providers/provider.ts:108 Icon Link


Icon LinkGqlTransaction

Icon InfoCircle

GqlTransaction: NonNullable<GqlGetTransactionQuery["transaction"]>

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:15 Icon Link


Icon LinkGraphqlTransactionStatus

Icon InfoCircle

GraphqlTransactionStatus: GqlTransaction ["status"]

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:17 Icon Link


Icon LinkInputOutputParam

Icon InfoCircle

InputOutputParam: InputParam & OutputParam

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:135 Icon Link


Icon LinkInputParam

Icon InfoCircle

InputParam: object

Icon LinkType declaration

Icon Linkinputs

Icon InfoCircle

inputs: Input[]

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:117 Icon Link


Icon LinkJsonAbisFromAllCalls

Icon InfoCircle

JsonAbisFromAllCalls: object

Icon LinkType declaration

Icon Linkmain

Icon InfoCircle

main: JsonAbi

Icon LinkotherContractsAbis

Icon InfoCircle

otherContractsAbis: Record<string, JsonAbi>

Icon LinkDefined in

packages/account/src/providers/transaction-request/types.ts:26 Icon Link


Icon LinkMerkleProof

Icon InfoCircle

MerkleProof: object

Icon LinkType declaration

Icon LinkproofIndex

Icon InfoCircle

proofIndex: BN

Icon LinkproofSet

Icon InfoCircle

proofSet: string[]

Icon LinkDefined in

packages/account/src/providers/message.ts:32 Icon Link


Icon LinkMessage

Icon InfoCircle

Message: object

A Fuel message

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: BN

Icon LinkdaHeight

Icon InfoCircle

daHeight: BN

Icon Linkdata

Icon InfoCircle

data: BytesLike

Icon LinkmessageId

Icon InfoCircle

messageId: BytesLike

Icon Linknonce

Icon InfoCircle

nonce: BytesLike

Icon Linkrecipient

Icon InfoCircle

recipient: AbstractAddress

Icon Linksender

Icon InfoCircle

sender: AbstractAddress

Icon LinkDefined in

packages/account/src/providers/message.ts:10 Icon Link


Icon LinkMessageCoin

Icon InfoCircle

MessageCoin: object

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: BN

Icon LinkassetId

Icon InfoCircle

assetId: string

Icon LinkdaHeight

Icon InfoCircle

daHeight: BN

Icon Linknonce

Icon InfoCircle

nonce: BytesLike

Icon Linkpredicate?

Icon InfoCircle

optional predicate: BytesLike

Icon LinkpredicateData?

Icon InfoCircle

optional predicateData: BytesLike

Icon Linkrecipient

Icon InfoCircle

recipient: AbstractAddress

Icon Linksender

Icon InfoCircle

sender: AbstractAddress

Icon LinkDefined in

packages/account/src/providers/message.ts:21 Icon Link


Icon LinkMessageProof

Icon InfoCircle

MessageProof: object

Message Proof

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: BN

Icon LinkblockProof

Icon InfoCircle

blockProof: MerkleProof

Icon LinkcommitBlockHeader

Icon InfoCircle

commitBlockHeader: BlockHeader

Icon Linkdata

Icon InfoCircle

data: string

Icon LinkmessageBlockHeader

Icon InfoCircle

messageBlockHeader: BlockHeader

Icon LinkmessageProof

Icon InfoCircle

messageProof: MerkleProof

Icon Linknonce

Icon InfoCircle

nonce: string

Icon Linkrecipient

Icon InfoCircle

recipient: AbstractAddress

Icon Linksender

Icon InfoCircle

sender: AbstractAddress

Icon LinkDefined in

packages/account/src/providers/message.ts:56 Icon Link


Icon LinkMessageStatus

Icon InfoCircle

MessageStatus: object

Message Status

Icon LinkType declaration

Icon Linkstate

Icon InfoCircle

state: GqlMessageState

Icon LinkDefined in

packages/account/src/providers/message.ts:71 Icon Link


Icon LinkMessageTransactionRequestInput

Icon InfoCircle

MessageTransactionRequestInput: object

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: BigNumberish

Amount of coins

Icon Linkdata?

Icon InfoCircle

optional data: BytesLike

data of message

Icon Linknonce

Icon InfoCircle

nonce: BytesLike

Unique nonce of message

Icon Linkpredicate?

Icon InfoCircle

optional predicate: BytesLike

Predicate bytecode

Icon LinkpredicateData?

Icon InfoCircle

optional predicateData: BytesLike

Predicate input data (parameters)

Icon LinkpredicateGasUsed?

Icon InfoCircle

optional predicateGasUsed: BigNumberish

Gas used by predicate

Icon Linkrecipient

Icon InfoCircle

recipient: BytesLike

Address of recipient

Icon Linksender

Icon InfoCircle

sender: BytesLike

Address of sender

Icon Linktype

Icon InfoCircle

type: InputType.Message

Icon LinkwitnessIndex

Icon InfoCircle

witnessIndex: number

Index of witness that authorizes the message

Icon LinkDefined in

packages/account/src/providers/transaction-request/input.ts:42 Icon Link


Icon LinkMnemonicPhrase

Icon InfoCircle

MnemonicPhrase: string | string[]

Icon LinkDefined in

packages/account/src/mnemonic/utils.ts:7 Icon Link


Icon LinkNetwork

Icon InfoCircle

Network: object

Name

Network

Icon LinkType declaration

Icon LinkchainId

Icon InfoCircle

chainId: number

The chain id of the network.

Icon Linkurl

Icon InfoCircle

url: string

The name of the network.

Icon LinkDefined in

packages/account/src/connectors/types/data-type.ts:20 Icon Link


Icon LinkNetworkEthereum

Icon InfoCircle

NetworkEthereum: object

Icon LinkType declaration

Icon Linkaddress?

Icon InfoCircle

optional address: string

address of the asset contract

Icon LinkchainId

Icon InfoCircle

chainId: number

chain id of the network

Icon Linkdecimals

Icon InfoCircle

decimals: number

number of decimals of the asset

Icon Linktype

Icon InfoCircle

type: "ethereum"

type of network

Icon LinkDefined in

packages/account/src/providers/assets/types.ts:1 Icon Link


Icon LinkNetworkFuel

Icon InfoCircle

NetworkFuel: object

Icon LinkType declaration

Icon LinkassetId

Icon InfoCircle

assetId: string

assetId on the Fuel Network

Icon LinkchainId

Icon InfoCircle

chainId: number

chain id of the network

Icon LinkcontractId?

Icon InfoCircle

optional contractId: string

the contractId of that generated the Asset on the Fuel Network

Icon Linkdecimals

Icon InfoCircle

decimals: number

number of decimals of the asset

Icon Linktype

Icon InfoCircle

type: "fuel"

type of network

Icon LinkDefined in

packages/account/src/providers/assets/types.ts:12 Icon Link


Icon LinkNetworkTypes

Icon InfoCircle

NetworkTypes: NetworkEthereum ["type"] | NetworkFuel ["type"]

Icon LinkDefined in

packages/account/src/providers/assets/utils/network.ts:5 Icon Link


Icon LinkNodeInfo

Icon InfoCircle

NodeInfo: object

Node information

Icon LinkType declaration

Icon LinkmaxDepth

Icon InfoCircle

maxDepth: BN

Icon LinkmaxTx

Icon InfoCircle

maxTx: BN

Icon LinknodeVersion

Icon InfoCircle

nodeVersion: string

Icon LinkutxoValidation

Icon InfoCircle

utxoValidation: boolean

Icon LinkvmBacktrace

Icon InfoCircle

vmBacktrace: boolean

Icon LinkDefined in

packages/account/src/providers/provider.ts:169 Icon Link


Icon LinkNodeInfoAndConsensusParameters

Icon InfoCircle

NodeInfoAndConsensusParameters: object

Icon LinkType declaration

Icon LinkgasPerByte

Icon InfoCircle

gasPerByte: BN

Icon LinkgasPriceFactor

Icon InfoCircle

gasPriceFactor: BN

Icon LinkmaxGasPerTx

Icon InfoCircle

maxGasPerTx: BN

Icon LinknodeVersion

Icon InfoCircle

nodeVersion: string

Icon LinkDefined in

packages/account/src/providers/provider.ts:177 Icon Link


Icon LinkOperation

Icon InfoCircle

Operation: object

Icon LinkType declaration

Icon LinkassetsSent?

Icon InfoCircle

optional assetsSent: OperationCoin []

Icon Linkcalls?

Icon InfoCircle

optional calls: OperationFunctionCall []

Icon Linkfrom?

Icon InfoCircle

optional from: OperationTransactionAddress

Icon Linkname?

Icon InfoCircle

optional name: OperationName

Icon Linkto?

Icon InfoCircle

optional to: OperationTransactionAddress

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:87 Icon Link


Icon LinkOperationCoin

Icon InfoCircle

OperationCoin: object

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: BNInput

Icon LinkassetId

Icon InfoCircle

assetId: string

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:76 Icon Link


Icon LinkOperationFunctionCall

Icon InfoCircle

OperationFunctionCall: object & Partial<OperationCoin >

Icon LinkType declaration

Icon LinkargumentsProvided?

Icon InfoCircle

optional argumentsProvided: Record<string, unknown>

Icon LinkfunctionName

Icon InfoCircle

functionName: string

Icon LinkfunctionSignature

Icon InfoCircle

functionSignature: string

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:81 Icon Link


Icon LinkOperationTransactionAddress

Icon InfoCircle

OperationTransactionAddress: object

Icon LinkType declaration

Icon Linkaddress

Icon InfoCircle

address: string

Icon Linkchain?

Icon InfoCircle

optional chain: ChainName

Icon Linktype

Icon InfoCircle

type: AddressType

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:111 Icon Link


Icon LinkOutputParam

Icon InfoCircle

OutputParam: object

Icon LinkType declaration

Icon Linkoutputs

Icon InfoCircle

outputs: Output[]

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:121 Icon Link


Icon LinkPredicateParameters

Icon InfoCircle

PredicateParameters: object

Icon LinkType declaration

Icon LinkmaxGasPerPredicate

Icon InfoCircle

maxGasPerPredicate: Scalars["U64"]["output"]

Icon LinkmaxMessageDataLength

Icon InfoCircle

maxMessageDataLength: Scalars["U64"]["output"]

Icon LinkmaxPredicateDataLength

Icon InfoCircle

maxPredicateDataLength: Scalars["U64"]["output"]

Icon LinkmaxPredicateLength

Icon InfoCircle

maxPredicateLength: Scalars["U64"]["output"]

Icon Linkversion

Icon InfoCircle

version: GqlPredicateParametersVersion

Icon LinkDefined in

packages/account/src/providers/__generated__/operations.ts:751


Icon LinkPredicateParams<TData, TConfigurables>

Icon InfoCircle

PredicateParams<TData, TConfigurables>: object

Icon LinkType Parameters

• TData extends InputValue[] = InputValue[]

• TConfigurables extends object | undefined = object

Icon LinkType declaration

Icon Linkabi?

Icon InfoCircle

optional abi: JsonAbi

Icon Linkbytecode

Icon InfoCircle

bytecode: BytesLike

Icon LinkconfigurableConstants?

Icon InfoCircle

optional configurableConstants: TConfigurables

Icon Linkdata?

Icon InfoCircle

optional data: TData

Icon Linkprovider

Icon InfoCircle

provider: Provider

Icon LinkDefined in

packages/account/src/predicate/predicate.ts:28 Icon Link


Icon LinkProgramState

Icon InfoCircle

ProgramState: SuccessStatus ["programState"]

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:25 Icon Link


Icon LinkProviderCallParams

Icon InfoCircle

ProviderCallParams: UTXOValidationParams & EstimateTransactionParams

Provider Call transaction params

Icon LinkDefined in

packages/account/src/providers/provider.ts:353 Icon Link


Icon LinkProviderOptions

Icon InfoCircle

ProviderOptions: object

Icon LinkType declaration

Icon Linkfetch()?

Icon InfoCircle

optional fetch: (url, requestInit?, providerOptions?) => Promise<Response>

Custom fetch function to use for making requests.

Icon LinkParameters

• url: string

• requestInit?: RequestInit

• providerOptions?: Omit<ProviderOptions , "fetch">

Icon LinkReturns

Promise<Response>

Icon LinkrequestMiddleware()?

Icon InfoCircle

optional requestMiddleware: (request) => RequestInit | Promise<RequestInit>

Middleware to modify the request before it is sent. This can be used to add headers, modify the body, etc.

Icon LinkParameters

• request: RequestInit

Icon LinkReturns

RequestInit | Promise<RequestInit>

Icon LinkresourceCacheTTL?

Icon InfoCircle

optional resourceCacheTTL: number

Resources cache for the given time [ms]. If set to -1, the cache will be disabled.

Icon LinkretryOptions?

Icon InfoCircle

optional retryOptions: RetryOptions

Retry options to use when fetching data from the node.

Icon Linktimeout?

Icon InfoCircle

optional timeout: number

Timeout [ms] after which every request will be aborted.

Icon LinkDefined in

packages/account/src/providers/provider.ts:290 Icon Link


Icon LinkProviderSendTxParams

Icon InfoCircle

ProviderSendTxParams: EstimateTransactionParams

Provider Send transaction params

Icon LinkDefined in

packages/account/src/providers/provider.ts:358 Icon Link


Icon LinkRawCoin

Icon InfoCircle

RawCoin: object

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: string

Icon LinkassetId

Icon InfoCircle

assetId: string

Icon LinkblockCreated

Icon InfoCircle

blockCreated: string

Icon Linkowner

Icon InfoCircle

owner: string

Icon LinktxCreatedIdx

Icon InfoCircle

txCreatedIdx: string

Icon LinkutxoId

Icon InfoCircle

utxoId: string

Icon LinkDefined in

packages/account/src/providers/resource.ts:6 Icon Link


Icon LinkRawMessage

Icon InfoCircle

RawMessage: object

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: string

Icon LinkassetId

Icon InfoCircle

assetId: string

Icon LinkdaHeight

Icon InfoCircle

daHeight: string

Icon Linkdata

Icon InfoCircle

data: string

Icon Linknonce

Icon InfoCircle

nonce: string

Icon Linkrecipient

Icon InfoCircle

recipient: string

Icon Linksender

Icon InfoCircle

sender: string

Icon LinkDefined in

packages/account/src/providers/resource.ts:15 Icon Link


Icon LinkRawPayloadParam

Icon InfoCircle

RawPayloadParam: object

Icon LinkType declaration

Icon LinkrawPayload?

Icon InfoCircle

optional rawPayload: string

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:131 Icon Link


Icon LinkRawResource

Icon InfoCircle

RawResource: RawCoin | RawMessage

Icon LinkDefined in

packages/account/src/providers/resource.ts:25 Icon Link


Icon LinkReason

Icon InfoCircle

Reason: FailureStatus ["reason"]

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:24 Icon Link


Icon LinkReceiptParam

Icon InfoCircle

ReceiptParam: object

Icon LinkType declaration

Icon Linkreceipts

Icon InfoCircle

receipts: TransactionResultReceipt[]

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:125 Icon Link


Icon LinkResource

Icon InfoCircle

Resource: Coin | MessageCoin

Icon LinkDefined in

packages/account/src/providers/resource.ts:26 Icon Link


Icon LinkScriptParameters

Icon InfoCircle

ScriptParameters: object

Icon LinkType declaration

Icon LinkmaxScriptDataLength

Icon InfoCircle

maxScriptDataLength: Scalars["U64"]["output"]

Icon LinkmaxScriptLength

Icon InfoCircle

maxScriptLength: Scalars["U64"]["output"]

Icon Linkversion

Icon InfoCircle

version: GqlScriptParametersVersion

Icon LinkDefined in

packages/account/src/providers/__generated__/operations.ts:1042


Icon LinkSqueezedOutStatus

Icon InfoCircle

SqueezedOutStatus: GqlSqueezedOutStatusFragment

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:22 Icon Link


Icon LinkStatus

Icon InfoCircle

Status: object

Icon LinkType declaration

Icon Linkconnected

Icon InfoCircle

connected: boolean

Icon Linkinstalled

Icon InfoCircle

installed: boolean

Icon LinkDefined in

packages/account/src/connectors/fuel.ts:40 Icon Link


Icon LinkSubmittedStatus

Icon InfoCircle

SubmittedStatus: GqlSubmittedStatusFragment

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:21 Icon Link


Icon LinkSuccessStatus

Icon InfoCircle

SuccessStatus: GqlSuccessStatusFragment

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:19 Icon Link


Icon LinkTime

Icon InfoCircle

Time: SubmittedStatus ["time"] | SuccessStatus ["time"] | FailureStatus ["time"]

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:26 Icon Link


Icon LinkTransactionCost

Icon InfoCircle

TransactionCost: object

Icon LinkType declaration

Icon LinkaddedSignatures

Icon InfoCircle

addedSignatures: number

Icon LinkdryRunStatus?

Icon InfoCircle

optional dryRunStatus: DryRunStatus

Icon LinkestimatedPredicates

Icon InfoCircle

estimatedPredicates: TransactionRequestInput []

Icon LinkgasPrice

Icon InfoCircle

gasPrice: BN

Icon LinkgasUsed

Icon InfoCircle

gasUsed: BN

Icon LinkmaxFee

Icon InfoCircle

maxFee: BN

Icon LinkmaxGas

Icon InfoCircle

maxGas: BN

Icon LinkminFee

Icon InfoCircle

minFee: BN

Icon LinkminGas

Icon InfoCircle

minGas: BN

Icon LinkmissingContractIds

Icon InfoCircle

missingContractIds: string[]

Icon LinkoutputVariables

Icon InfoCircle

outputVariables: number

Icon Linkreceipts

Icon InfoCircle

receipts: TransactionResultReceipt[]

Icon LinkrequiredQuantities

Icon InfoCircle

requiredQuantities: CoinQuantity []

Icon LinkupdateMaxFee?

Icon InfoCircle

optional updateMaxFee: boolean

Icon LinkDefined in

packages/account/src/providers/provider.ts:185 Icon Link


Icon LinkTransactionCostParams

Icon InfoCircle

TransactionCostParams: EstimateTransactionParams & object

Icon LinkType declaration

Icon Linkquantities?

Icon InfoCircle

optional quantities: CoinQuantity []

The quantities to forward to the contract.

Icon LinksignatureCallback()?

Icon InfoCircle

optional signatureCallback: (request) => Promise<ScriptTransactionRequest >

A callback to sign the transaction.

Icon LinkParameters

• request: ScriptTransactionRequest

The transaction request to sign.

Icon LinkReturns

Promise<ScriptTransactionRequest >

A promise that resolves to the signed transaction request.

Icon LinkDefined in

packages/account/src/providers/provider.ts:335 Icon Link


Icon LinkTransactionRequest

Icon InfoCircle

TransactionRequest: ScriptTransactionRequest | CreateTransactionRequest | BlobTransactionRequest

Icon LinkDefined in

packages/account/src/providers/transaction-request/types.ts:17 Icon Link


Icon LinkTransactionRequestInput

Icon InfoCircle

TransactionRequestInput: CoinTransactionRequestInput | ContractTransactionRequestInput | MessageTransactionRequestInput

Icon LinkDefined in

packages/account/src/providers/transaction-request/input.ts:82 Icon Link


Icon LinkTransactionRequestLike

Icon InfoCircle

TransactionRequestLike: object & ScriptTransactionRequestLike | object & CreateTransactionRequestLike | object & BlobTransactionRequestLike

Icon LinkDefined in

packages/account/src/providers/transaction-request/types.ts:21 Icon Link


Icon LinkTransactionRequestOutput

Icon InfoCircle

TransactionRequestOutput: CoinTransactionRequestOutput | ContractTransactionRequestOutput | ChangeTransactionRequestOutput | VariableTransactionRequestOutput | ContractCreatedTransactionRequestOutput

Icon LinkDefined in

packages/account/src/providers/transaction-request/output.ts:41 Icon Link


Icon LinkTransactionResultBurnReceipt

Icon InfoCircle

TransactionResultBurnReceipt: ReceiptBurn

Icon LinkDefined in

packages/account/src/providers/transaction-response/transaction-response.ts:66 Icon Link


Icon LinkTransactionResultMintReceipt

Icon InfoCircle

TransactionResultMintReceipt: ReceiptMint

Icon LinkDefined in

packages/account/src/providers/transaction-response/transaction-response.ts:65 Icon Link


Icon LinkTransactionSummary<TTransactionType>

Icon InfoCircle

TransactionSummary<TTransactionType>: object

Icon LinkType Parameters

• TTransactionType = void

Icon LinkType declaration

Icon LinkblockId?

Icon InfoCircle

optional blockId: BlockId

Icon LinkburnedAssets

Icon InfoCircle

burnedAssets: BurnedAsset []

Icon Linkdate?

Icon InfoCircle

optional date: Date

Icon Linkfee

Icon InfoCircle

fee: BN

Icon LinkgasUsed

Icon InfoCircle

gasUsed: BN

Icon Linkid

Icon InfoCircle

id: string

Icon LinkisStatusFailure

Icon InfoCircle

isStatusFailure: boolean

Icon LinkisStatusPending

Icon InfoCircle

isStatusPending: boolean

Icon LinkisStatusSuccess

Icon InfoCircle

isStatusSuccess: boolean

Icon LinkisTypeBlob

Icon InfoCircle

isTypeBlob: boolean

Icon LinkisTypeCreate

Icon InfoCircle

isTypeCreate: boolean

Icon LinkisTypeMint

Icon InfoCircle

isTypeMint: boolean

Icon LinkisTypeScript

Icon InfoCircle

isTypeScript: boolean

Icon LinkisTypeUpgrade

Icon InfoCircle

isTypeUpgrade: boolean

Icon LinkisTypeUpload

Icon InfoCircle

isTypeUpload: boolean

Icon LinkmintedAssets

Icon InfoCircle

mintedAssets: MintedAsset []

Icon Linkoperations

Icon InfoCircle

operations: Operation []

Icon Linkreceipts

Icon InfoCircle

receipts: TransactionResultReceipt[]

Icon Linkstatus?

Icon InfoCircle

optional status: TransactionStatus

Icon Linktime?

Icon InfoCircle

optional time: string

Icon Linktip

Icon InfoCircle

tip: BN

Icon Linktransaction

Icon InfoCircle

transaction: Transaction<TTransactionType>

Icon Linktype

Icon InfoCircle

type: TransactionTypeName

Icon LinkDefined in

packages/account/src/providers/transaction-summary/types.ts:160 Icon Link


Icon LinkTransferParams

Icon InfoCircle

TransferParams: object

Icon LinkType declaration

Icon Linkamount

Icon InfoCircle

amount: BigNumberish

Icon LinkassetId?

Icon InfoCircle

optional assetId: BytesLike

Icon Linkdestination

Icon InfoCircle

destination: string | AbstractAddress

Icon LinkDefined in

packages/account/src/account.ts:54 Icon Link


Icon LinkTxParameters

Icon InfoCircle

TxParameters: object

Icon LinkType declaration

Icon LinkmaxBytecodeSubsections

Icon InfoCircle

maxBytecodeSubsections: Scalars["U16"]["output"]

Icon LinkmaxGasPerTx

Icon InfoCircle

maxGasPerTx: Scalars["U64"]["output"]

Icon LinkmaxInputs

Icon InfoCircle

maxInputs: Scalars["U16"]["output"]

Icon LinkmaxOutputs

Icon InfoCircle

maxOutputs: Scalars["U16"]["output"]

Icon LinkmaxSize

Icon InfoCircle

maxSize: Scalars["U64"]["output"]

Icon LinkmaxWitnesses

Icon InfoCircle

maxWitnesses: Scalars["U32"]["output"]

Icon Linkversion

Icon InfoCircle

version: GqlTxParametersVersion

Icon LinkDefined in

packages/account/src/providers/__generated__/operations.ts:1173


Icon LinkTxParamsType

Icon InfoCircle

TxParamsType: Pick<ScriptTransactionRequestLike, "gasLimit" | "tip" | "maturity" | "maxFee" | "witnessLimit">

Icon LinkDefined in

packages/account/src/account.ts:49 Icon Link


Icon LinkUTXOValidationParams

Icon InfoCircle

UTXOValidationParams: object

UTXO validation params

Icon LinkType declaration

Icon LinkutxoValidation?

Icon InfoCircle

optional utxoValidation: boolean

Icon LinkDefined in

packages/account/src/providers/provider.ts:321 Icon Link


Icon LinkVariableTransactionRequestOutput

Icon InfoCircle

VariableTransactionRequestOutput: object

Icon LinkType declaration

Icon Linktype

Icon InfoCircle

type: OutputType.Variable

Icon LinkDefined in

packages/account/src/providers/transaction-request/output.ts:31 Icon Link


Icon LinkVaultConfig

Icon InfoCircle

VaultConfig: object

Icon LinkType declaration

Icon Linksecret?

Icon InfoCircle

optional secret: string

Icon Linktitle?

Icon InfoCircle

optional title: string

Icon Linktype

Icon InfoCircle

type: string

Icon LinkDefined in

packages/account/src/wallet-manager/types.ts:17 Icon Link


Icon LinkVaultsState

Icon InfoCircle

VaultsState: object[]

Icon LinkDefined in

packages/account/src/wallet-manager/types.ts:23 Icon Link


Icon LinkVersion

Icon InfoCircle

Version: object

Name

Version

Icon LinkType declaration

Icon Linkapp

Icon InfoCircle

app: string

Icon Linknetwork

Icon InfoCircle

network: string

Version selection this allow Caret Ranges ^1.2.3 ^0.2.5 ^0.0.4 Tilde Ranges ~1.2.3 ~1.2 ~1 And Exact Versions 1.0.0

Icon LinkDefined in

packages/account/src/connectors/types/data-type.ts:6 Icon Link


Icon LinkWalletManagerAccount

Icon InfoCircle

WalletManagerAccount: object

Icon LinkType declaration

Icon Linkaddress

Icon InfoCircle

address: AbstractAddress

Icon LinkpublicKey

Icon InfoCircle

publicKey: string

Icon LinkvaultId?

Icon InfoCircle

optional vaultId: number

Icon LinkDefined in

packages/account/src/wallet-manager/types.ts:7 Icon Link


Icon LinkWalletManagerOptions

Icon InfoCircle

WalletManagerOptions: object

Icon LinkType declaration

Icon Linkstorage

Icon InfoCircle

storage: StorageAbstract

Icon LinkDefined in

packages/account/src/wallet-manager/types.ts:13 Icon Link

Icon LinkVariables

Icon LinkBLOCKS_PAGE_SIZE_LIMIT

Icon InfoCircle

const BLOCKS_PAGE_SIZE_LIMIT: 5 = 5

Icon LinkDefined in

packages/account/src/providers/provider.ts:66 Icon Link


Icon LinkCHAIN_IDS

Icon InfoCircle

const CHAIN_IDS: object

Icon LinkType declaration

Icon Linketh

Icon InfoCircle

eth: object

Icon Linketh.foundry

Icon InfoCircle

eth.foundry: number = 31337

Icon Linketh.sepolia

Icon InfoCircle

eth.sepolia: number = 11155111

Icon Linkfuel

Icon InfoCircle

fuel: object

Icon Linkfuel.devnet

Icon InfoCircle

fuel.devnet: number = 0

Icon Linkfuel.testnet

Icon InfoCircle

fuel.testnet: number = 0

Icon LinkDefined in

packages/account/src/providers/chains.ts:1 Icon Link


Icon LinkDEFAULT_RESOURCE_CACHE_TTL

Icon InfoCircle

const DEFAULT_RESOURCE_CACHE_TTL: 20000 = 20_000

Icon LinkDefined in

packages/account/src/providers/provider.ts:67 Icon Link


Icon LinkFuelConnectorEventType

Icon InfoCircle

const FuelConnectorEventType: "FuelConnector" = 'FuelConnector'

Icon LinkDefined in

packages/account/src/connectors/types/connector-types.ts:42 Icon Link


Icon LinkMNEMONIC_SIZES

Icon InfoCircle

const MNEMONIC_SIZES: number[]

Icon LinkDefined in

packages/account/src/mnemonic/mnemonic.ts:20 Icon Link


Icon LinkRESOURCES_PAGE_SIZE_LIMIT

Icon InfoCircle

const RESOURCES_PAGE_SIZE_LIMIT: 512 = 512

Icon LinkDefined in

packages/account/src/providers/provider.ts:65 Icon Link


Icon Linkassets

Icon InfoCircle

const assets: object[]

Icon LinkDefined in

packages/account/src/providers/assets/assets.ts:38 Icon Link


Icon Linkenglish

Icon InfoCircle

const english: string[]

Icon LinkDefined in

packages/account/src/wordlists/words/english.ts:1 Icon Link


Icon LinkfuelAssetsBaseUrl

Icon InfoCircle

const fuelAssetsBaseUrl: "https://cdn.fuel.network/assets/" = 'https://cdn.fuel.network/assets/'

Icon LinkDefined in

packages/account/src/providers/assets/utils/fuelAssetsBaseUrl.ts:1 Icon Link


Icon LinkrawAssets

Icon InfoCircle

const rawAssets: Assets

Icon LinkDefined in

packages/account/src/providers/assets/assets.ts:6 Icon Link

Icon LinkFunctions

Icon LinkaddAmountToCoinQuantities()

Icon InfoCircle

addAmountToCoinQuantities(params): CoinQuantity []

Icon LinkParameters

• params: IAddAmountToAssetParams

Icon LinkReturns

CoinQuantity []

Icon LinkDefined in

packages/account/src/providers/coin-quantity.ts:40 Icon Link


Icon LinkassemblePanicError()

Icon InfoCircle

assemblePanicError(statusReason, metadata): FuelError

Assembles an error message for a panic status.

Icon LinkParameters

• statusReason: string

• metadata: Record<string, unknown>

Icon LinkReturns

FuelError

The error message.

Icon LinkDefined in

packages/account/src/providers/utils/extract-tx-error.ts:22 Icon Link


Icon LinkassembleReceiptByType()

Icon InfoCircle

assembleReceiptByType(receipt): ReceiptCall | ReceiptReturn | ReceiptReturnData | ReceiptPanic | ReceiptRevert | ReceiptLog | ReceiptLogData | ReceiptTransfer | ReceiptTransferOut | ReceiptScriptResult | ReceiptMessageOut | ReceiptMint | ReceiptBurn

Icon LinkParameters

• receipt: GqlReceiptFragment

Icon LinkReturns

ReceiptCall | ReceiptReturn | ReceiptReturnData | ReceiptPanic | ReceiptRevert | ReceiptLog | ReceiptLogData | ReceiptTransfer | ReceiptTransferOut | ReceiptScriptResult | ReceiptMessageOut | ReceiptMint | ReceiptBurn

Icon LinkDefined in

packages/account/src/providers/utils/receipts.ts:69 Icon Link


Icon LinkassembleRevertError()

Icon InfoCircle

assembleRevertError(receipts, logs, metadata): FuelError

Assembles an error message for a revert status.

Icon LinkParameters

• receipts: TransactionResultReceipt[]

The transaction result processed receipts.

• logs: unknown[]

The transaction decoded logs.

• metadata: Record<string, unknown>

Icon LinkReturns

FuelError

The error message.

Icon LinkDefined in

packages/account/src/providers/utils/extract-tx-error.ts:47 Icon Link


Icon LinkcacheFor()

Icon InfoCircle

cacheFor<F>(fn, __namedParameters): F

Icon LinkType Parameters

• F extends (...args) => Promise<unknown>

Icon LinkParameters

• fn: F

• __namedParameters: CacheForOptions

Icon LinkReturns

F

Icon LinkDefined in

packages/account/src/connectors/utils/cache.ts:16 Icon Link


Icon LinkcacheRequestInputsResources()

Icon InfoCircle

cacheRequestInputsResources(inputs): Required<ExcludeResourcesOption>

Icon LinkParameters

• inputs: TransactionRequestInput []

Icon LinkReturns

Required<ExcludeResourcesOption>

Icon LinkDefined in

packages/account/src/providers/transaction-request/helpers.ts:52 Icon Link


Icon LinkcacheRequestInputsResourcesFromOwner()

Icon InfoCircle

cacheRequestInputsResourcesFromOwner(inputs, owner): ExcludeResourcesOption

Icon LinkParameters

• inputs: TransactionRequestInput []

• owner: AbstractAddress

Icon LinkReturns

ExcludeResourcesOption

Icon LinkDefined in

packages/account/src/providers/transaction-request/helpers.ts:68 Icon Link


Icon LinkcalculateGasFee()

Icon InfoCircle

calculateGasFee(params): BN

Icon LinkParameters

• params: CalculateGasFeeParams

Icon LinkReturns

BN

Icon LinkDefined in

packages/account/src/providers/utils/gas.ts:183 Icon Link


Icon LinkcalculateMetadataGasForTxBlob()

Icon InfoCircle

calculateMetadataGasForTxBlob(__namedParameters): BN

Icon LinkParameters

• __namedParameters

• __namedParameters.gasCosts: GasCosts

• __namedParameters.txBytesSize: number

• __namedParameters.witnessBytesSize: number

Icon LinkReturns

BN

Icon LinkDefined in

packages/account/src/providers/utils/gas.ts:162 Icon Link


Icon LinkcalculateMetadataGasForTxCreate()

Icon InfoCircle

calculateMetadataGasForTxCreate(__namedParameters): BN

Icon LinkParameters

• __namedParameters

• __namedParameters.contractBytesSize: BN

• __namedParameters.gasCosts: GasCosts

• __namedParameters.stateRootSize: number

• __namedParameters.txBytesSize: number

Icon LinkReturns

BN

Icon LinkDefined in

packages/account/src/providers/utils/gas.ts:131 Icon Link


Icon LinkcalculateMetadataGasForTxScript()

Icon InfoCircle

calculateMetadataGasForTxScript(__namedParameters): BN

Icon LinkParameters

• __namedParameters

• __namedParameters.gasCosts: GasCosts

• __namedParameters.txBytesSize: number

Icon LinkReturns

BN

Icon LinkDefined in

packages/account/src/providers/utils/gas.ts:152 Icon Link


Icon LinkcalculateTXFeeForSummary()

Icon InfoCircle

calculateTXFeeForSummary(params): BN

Icon LinkParameters

• params: CalculateTXFeeForSummaryParams

Icon LinkReturns

BN

Icon LinkDefined in

packages/account/src/providers/transaction-summary/calculate-tx-fee-for-summary.ts:35 Icon Link


Icon LinkdeferPromise()

Icon InfoCircle

deferPromise<R>(): DeferPromise <R>

Icon LinkType Parameters

• R = unknown

Icon LinkReturns

DeferPromise <R>

Icon LinkDefined in

packages/account/src/connectors/utils/promises.ts:11 Icon Link


Icon LinkdispatchFuelConnectorEvent()

Icon InfoCircle

dispatchFuelConnectorEvent(connector): void

Fuel Connector Event is a custom event that can be used by the connector to inform the Fuel Connector Manager that a new connector is available.

Icon LinkParameters

• connector: FuelConnector

Icon LinkReturns

void

Icon LinkDefined in

packages/account/src/connectors/utils/dispatch-fuel-connector-event.ts:8 Icon Link


Icon LinkextractBurnedAssetsFromReceipts()

Icon InfoCircle

extractBurnedAssetsFromReceipts(receipts): MintedAsset []

Icon LinkParameters

• receipts: TransactionResultReceipt[]

Icon LinkReturns

MintedAsset []

Icon LinkDefined in

packages/account/src/providers/transaction-summary/receipt.ts:49 Icon Link


Icon LinkextractMintedAssetsFromReceipts()

Icon InfoCircle

extractMintedAssetsFromReceipts(receipts): MintedAsset []

Icon LinkParameters

• receipts: TransactionResultReceipt[]

Icon LinkReturns

MintedAsset []

Icon LinkDefined in

packages/account/src/providers/transaction-summary/receipt.ts:30 Icon Link


Icon LinkextractTxError()

Icon InfoCircle

extractTxError(params): FuelError

Extracts the transaction error and returns a FuelError object.

Icon LinkParameters

• params: IExtractTxError

Icon LinkReturns

FuelError

The FuelError object.

Icon LinkDefined in

packages/account/src/providers/utils/extract-tx-error.ts:126 Icon Link


Icon LinkgasUsedByInputs()

Icon InfoCircle

gasUsedByInputs(inputs, txBytesSize, gasCosts): BN

Icon LinkParameters

• inputs: (TransactionRequestInput | Input)[]

• txBytesSize: number

• gasCosts: GasCosts

Icon LinkReturns

BN

Icon LinkDefined in

packages/account/src/providers/utils/gas.ts:40 Icon Link


Icon LinkgetAssetAmountInRequestInputs()

Icon InfoCircle

getAssetAmountInRequestInputs(inputs, assetId, baseAsset): BN

Icon LinkParameters

• inputs: TransactionRequestInput []

• assetId: string

• baseAsset: string

Icon LinkReturns

BN

Icon LinkDefined in

packages/account/src/providers/transaction-request/helpers.ts:35 Icon Link


Icon LinkgetAssetEth()

Icon InfoCircle

getAssetEth(asset, chainId?): undefined | AssetEth

Returns the asset's details on Ethereum

Icon LinkParameters

• asset: Asset

• chainId?: number

Icon LinkReturns

undefined | AssetEth

Icon LinkDefined in

packages/account/src/providers/assets/utils/network.ts:80 Icon Link


Icon LinkgetAssetFuel()

Icon InfoCircle

getAssetFuel(asset, chainId?): undefined | AssetFuel

Returns the asset's details on Fuel

Icon LinkParameters

• asset: Asset

• chainId?: number

Icon LinkReturns

undefined | AssetFuel

Icon LinkDefined in

packages/account/src/providers/assets/utils/network.ts:90 Icon Link


Icon LinkgetAssetNetwork()

Icon InfoCircle

getAssetNetwork<T>(__namedParameters): NetworkTypeToNetwork<T>

Returns the asset's network on the given network eg. getAssetNetwork({ asset, chainId: 1, networkType: 'ethereum' }) will return the asset's details on Ethereum mainnet

Icon LinkType Parameters

• T extends undefined | NetworkTypes

Icon LinkParameters

• __namedParameters: GetAssetNetworkParams <T>

Icon LinkReturns

NetworkTypeToNetwork<T>

Icon LinkDefined in

packages/account/src/providers/assets/utils/network.ts:32 Icon Link


Icon LinkgetAssetWithNetwork()

Icon InfoCircle

getAssetWithNetwork<T>(__namedParameters): undefined | AssetEth | AssetFuel

Returns the asset's details on the given network alongwith the asset itself eg. getAssetWithNetwork({ asset, chainId: 1, networkType: 'ethereum' }) will return the asset's details on Ethereum mainnet and the asset itself

Icon LinkType Parameters

• T extends NetworkTypes

Icon LinkParameters

• __namedParameters: GetAssetNetworkParams <T>

Icon LinkReturns

undefined | AssetEth | AssetFuel

Icon LinkDefined in

packages/account/src/providers/assets/utils/network.ts:48 Icon Link


Icon LinkgetDefaultChainId()

Icon InfoCircle

getDefaultChainId(networkType): undefined | number

Returns the default chainId for the given network

Icon LinkParameters

• networkType: NetworkTypes

Icon LinkReturns

undefined | number

Icon LinkDefined in

packages/account/src/providers/assets/utils/network.ts:11 Icon Link


Icon LinkgetMaxGas()

Icon InfoCircle

getMaxGas(params): BN

Icon LinkParameters

• params: IGetMaxGasParams

Icon LinkReturns

BN

Icon LinkDefined in

packages/account/src/providers/utils/gas.ts:110 Icon Link


Icon LinkgetMinGas()

Icon InfoCircle

getMinGas(params): BN

Icon LinkParameters

• params: IGetMinGasParams

Icon LinkReturns

BN

Icon LinkDefined in

packages/account/src/providers/utils/gas.ts:88 Icon Link


Icon LinkgetRequestInputResourceOwner()

Icon InfoCircle

getRequestInputResourceOwner(input): BytesLike

Icon LinkParameters

• input: CoinTransactionRequestInput | MessageTransactionRequestInput

Icon LinkReturns

BytesLike

Icon LinkDefined in

packages/account/src/providers/transaction-request/helpers.ts:26 Icon Link


Icon LinkgetTransactionSummary()

Icon InfoCircle

getTransactionSummary<TTransactionType>(params): Promise<TransactionResult>

Icon LinkType Parameters

• TTransactionType = void

Icon LinkParameters

• params: GetTransactionSummaryParams

Icon LinkReturns

Promise<TransactionResult>

Icon LinkDefined in

packages/account/src/providers/transaction-summary/get-transaction-summary.ts:26 Icon Link


Icon LinkisRequestInputCoin()

Icon InfoCircle

isRequestInputCoin(input): input is CoinTransactionRequestInput

Icon LinkParameters

• input: TransactionRequestInput

Icon LinkReturns

input is CoinTransactionRequestInput

Icon LinkDefined in

packages/account/src/providers/transaction-request/helpers.ts:13 Icon Link


Icon LinkisRequestInputMessage()

Icon InfoCircle

isRequestInputMessage(input): input is MessageTransactionRequestInput

Icon LinkParameters

• input: TransactionRequestInput

Icon LinkReturns

input is MessageTransactionRequestInput

Icon LinkDefined in

packages/account/src/providers/transaction-request/helpers.ts:17 Icon Link


Icon LinkisRequestInputResource()

Icon InfoCircle

isRequestInputResource(input): input is CoinTransactionRequestInput | MessageTransactionRequestInput

Icon LinkParameters

• input: TransactionRequestInput

Icon LinkReturns

input is CoinTransactionRequestInput | MessageTransactionRequestInput

Icon LinkDefined in

packages/account/src/providers/transaction-request/helpers.ts:21 Icon Link


Icon LinkisRequestInputResourceFromOwner()

Icon InfoCircle

isRequestInputResourceFromOwner(input, owner): boolean

Icon LinkParameters

• input: CoinTransactionRequestInput | MessageTransactionRequestInput

• owner: AbstractAddress

Icon LinkReturns

boolean

Icon LinkDefined in

packages/account/src/providers/transaction-request/helpers.ts:30 Icon Link


Icon LinkprocessGqlReceipt()

Icon InfoCircle

processGqlReceipt(gqlReceipt): TransactionResultReceipt

Icon LinkParameters

• gqlReceipt: GqlReceiptFragment

Icon LinkReturns

TransactionResultReceipt

Icon LinkDefined in

packages/account/src/providers/transaction-summary/receipt.ts:9 Icon Link


Icon LinkresolveGasDependentCosts()

Icon InfoCircle

resolveGasDependentCosts(byteSize, gasDependentCost): BN

Icon LinkParameters

• byteSize: BNInput

• gasDependentCost: GqlDependentCost

Icon LinkReturns

BN

Icon LinkDefined in

packages/account/src/providers/utils/gas.ts:29 Icon Link


Icon LinkresolveIconPaths()

Icon InfoCircle

resolveIconPaths(assets, basePath): object[]

Returns the list of assets with the icon paths 'resolved'. eg. ./eth.svg -> https://some-url.com/eth.svg

Icon LinkParameters

• assets: Assets

List of assets

• basePath: string = './'

Base path for the icon URLs (default: './')

Icon LinkReturns

object[]

The assets with the icon paths resolved

Icon LinkDefined in

packages/account/src/providers/assets/utils/resolveIconPaths.ts:11 Icon Link


Icon LinkurlJoin()

Icon InfoCircle

urlJoin(baseUrl, ...paths): string

Icon LinkParameters

• baseUrl: undefined | string

• ...paths: string[]

Icon LinkReturns

string

Icon LinkDefined in

packages/account/src/providers/assets/utils/url.ts:5 Icon Link


Icon LinkwithTimeout()

Icon InfoCircle

withTimeout<F, RT>(promise, timeout): Promise<RT>

Icon LinkType Parameters

• F extends Promise<unknown>

• RT = Awaited<F>

Icon LinkParameters

• promise: F

• timeout: number = 1050

Icon LinkReturns

Promise<RT>

Icon LinkDefined in

packages/account/src/connectors/utils/promises.ts:23 Icon Link

Icon LinkEvents

Icon LinkAssetsEvent

Icon InfoCircle

AssetsEvent: object

Event trigger when the assets list of metadata changed.

AssetsEvent

Icon LinkType declaration

Icon Linkdata

Icon InfoCircle

data: Asset []

Icon Linktype

Icon InfoCircle

type: assets

Icon LinkDefined in

packages/account/src/connectors/types/events.ts:114 Icon Link


Icon LinkConnectionEvent

Icon InfoCircle

ConnectionEvent: object

Event trigger when connection status changes. With the new connection status.

ConnectionEvent

Icon LinkType declaration

Icon Linkdata

Icon InfoCircle

data: boolean

Icon Linktype

Icon InfoCircle

type: connection

Icon LinkDefined in

packages/account/src/connectors/types/events.ts:52 Icon Link


Icon LinkConnectorEvent

Icon InfoCircle

ConnectorEvent: object

Event trigger when the current connector has changed.

ConnectorEvent

Icon LinkType declaration

Icon Linkdata

Icon InfoCircle

data: FuelConnector

Icon Linktype

Icon InfoCircle

type: currentConnector

Icon LinkDefined in

packages/account/src/connectors/types/events.ts:102 Icon Link


Icon LinkConnectorsEvent

Icon InfoCircle

ConnectorsEvent: object

Event trigger when the list of connectors has changed.

ConnectorsEvent

Icon LinkType declaration

Icon Linkdata

Icon InfoCircle

data: FuelConnector []

Icon Linktype

Icon InfoCircle

type: connectors

Icon LinkDefined in

packages/account/src/connectors/types/events.ts:90 Icon Link


Icon LinkNetworkEvent

Icon InfoCircle

NetworkEvent: object

Event trigger when the network selected on the connector is changed. It should trigger even if the network is not available for the connection.

NetworkEvent

Icon LinkType declaration

Icon Linkdata

Icon InfoCircle

data: Network

Icon Linktype

Icon InfoCircle

type: currentNetwork

Icon LinkDefined in

packages/account/src/connectors/types/events.ts:65 Icon Link


Icon LinkNetworksEvent

Icon InfoCircle

NetworksEvent: object

Event trigger when the network selected on the connector is changed. It should trigger even if the network is not available for the connection.

NetworksEvent

Icon LinkType declaration

Icon Linkdata

Icon InfoCircle

data: Network

Icon Linktype

Icon InfoCircle

type: networks

Icon LinkDefined in

packages/account/src/connectors/types/events.ts:78 Icon Link

Icon LinkEnumerations

Icon LinkClasses

Icon LinkInterfaces