Ƭ AbiMap: Record
<string
, JsonAbi
>
packages/providers/src/transaction-summary/types.ts:124
Ƭ Block: Object
A Fuel block
Name | Type |
---|---|
height | BN |
id | string |
time | string |
transactionIds | string [] |
packages/providers/src/provider.ts:64
Ƭ BlockHeader: Object
Name | Type |
---|---|
applicationHash | string |
daHeight | BN |
height | BN |
id | string |
messageReceiptCount | BN |
messageReceiptRoot | string |
prevRoot | string |
time | string |
transactionsCount | BN |
transactionsRoot | string |
packages/providers/src/message.ts:36
Ƭ BlockId: SuccessStatus
["block"
]["id"
] | FailureStatus
["block"
]["id"
]
packages/providers/src/transaction-summary/types.ts:24
Ƭ BurnedAsset: MintedAsset
packages/providers/src/transaction-summary/types.ts:151
Ƭ CalculateTransactionFeeParams: Object
Name | Type |
---|---|
consensusParameters | Pick <GqlConsensusParameters , "gasCosts" > & { feeParams : FeeParams } |
gasUsed | BN |
rawPayload | string |
packages/providers/src/transaction-summary/calculate-transaction-fee.ts:23
Ƭ CallResult: Object
Name | Type |
---|---|
receipts | TransactionResultReceipt [] |
packages/providers/src/provider.ts:57
Ƭ ChainInfo: Object
Chain information
Name | Type |
---|---|
baseChainHeight | BN |
consensusParameters | ConsensusParameters |
gasCosts | GqlGasCosts |
latestBlock | { height : BN ; id : string ; time : string ; transactions : { id : string }[] } |
latestBlock.height | BN |
latestBlock.id | string |
latestBlock.time | string |
latestBlock.transactions | { id : string }[] |
name | string |
packages/providers/src/provider.ts:101
Ƭ ChangeTransactionRequestOutput: Object
Name | Type | Description |
---|---|---|
assetId | BytesLike | Asset ID of coins |
to | BytesLike | Receiving address or script hash |
type | OutputType.Change | - |
packages/providers/src/transaction-request/output.ts:24
Ƭ Coin: Object
A Fuel coin
Name | Type |
---|---|
amount | BN |
assetId | string |
blockCreated | BN |
id | string |
maturity | number |
owner | AbstractAddress |
txCreatedIdx | BN |
packages/providers/src/coin.ts:7
Ƭ CoinQuantity: Object
Name | Type |
---|---|
amount | BN |
assetId | string |
max? | BN |
packages/providers/src/coin-quantity.ts:10
Ƭ CoinQuantityLike: [amount: BigNumberish, assetId?: BytesLike, max?: BigNumberish] | { amount
: BigNumberish
; assetId?
: BytesLike
; max?
: BigNumberish
}
packages/providers/src/coin-quantity.ts:7
Ƭ CoinTransactionRequestInput: Object
Name | Type | Description |
---|---|---|
amount | BigNumberish | Amount of coins |
assetId | BytesLike | Asset ID of the coins |
id | BytesLike | UTXO ID |
maturity? | number | UTXO being spent must have been created at least this many blocks ago |
owner | BytesLike | Owning address or script hash |
predicate? | BytesLike | Predicate bytecode |
predicateData? | BytesLike | Predicate input data (parameters) |
predicateGasUsed? | BigNumberish | Gas used by predicate |
txPointer | BytesLike | Points to the TX whose output is being spent. (TxPointer) |
type | InputType.Coin | - |
witnessIndex | number | Index of witness that authorizes spending the coin |
packages/providers/src/transaction-request/input.ts:10
Ƭ CoinTransactionRequestOutput: Object
Name | Type | Description |
---|---|---|
amount | BigNumberish | Amount of coins to send |
assetId | BytesLike | Asset ID of coins |
to | BytesLike | Receiving address or script hash |
type | OutputType.Coin | - |
packages/providers/src/transaction-request/output.ts:10
Ƭ ContractCreatedTransactionRequestOutput: Object
Name | Type | Description |
---|---|---|
contractId | BytesLike | Contract ID |
stateRoot | BytesLike | State Root |
type | OutputType.ContractCreated | - |
packages/providers/src/transaction-request/output.ts:34
Ƭ ContractResult: Object
Deployed Contract bytecode and contract id
Name | Type |
---|---|
bytecode | string |
id | string |
packages/providers/src/provider.ts:74
Ƭ ContractTransactionRequestInput: Object
Name | Type | Description |
---|---|---|
contractId | BytesLike | Contract ID |
txPointer | BytesLike | Points to the TX whose output is being spent. (TxPointer) |
type | InputType.Contract | - |
packages/providers/src/transaction-request/input.ts:75
Ƭ ContractTransactionRequestOutput: Object
Name | Type | Description |
---|---|---|
inputIndex | number | Index of input contract |
type | OutputType.Contract | - |
packages/providers/src/transaction-request/output.ts:19
Ƭ EstimatePredicateParams: Object
Name | Type |
---|---|
estimatePredicates? | boolean |
packages/providers/src/provider.ts:241
Ƭ EstimateTransactionParams: Object
Transaction estimation Param
Name | Type |
---|---|
estimateTxDependencies? | boolean |
packages/providers/src/provider.ts:237
Ƭ FailureStatus: Extract
<GraphqlTransactionStatus
, { __typename
: "FailureStatus"
}>
packages/providers/src/transaction-summary/types.ts:14
Ƭ FetchRequestOptions: Object
Name | Type |
---|---|
body | string |
headers | { [key: string] : string ; } |
method | "POST" |
packages/providers/src/provider.ts:207
Ƭ GetOperationParams: { abiMap?
: AbiMap
; maxInputs
: BN
; transactionType
: TransactionType
} & InputOutputParam
& ReceiptParam
& RawPayloadParam
packages/providers/src/transaction-summary/types.ts:136
Ƭ GqlTransaction: NonNullable
<GqlGetTransactionQuery
["transaction"
]>
packages/providers/src/transaction-summary/types.ts:9
Ƭ GraphqlTransactionStatus: GqlTransaction
["status"
]
packages/providers/src/transaction-summary/types.ts:11
Ƭ InputOutputParam: InputParam
& OutputParam
packages/providers/src/transaction-summary/types.ts:130
Ƭ InputParam: Object
Name | Type |
---|---|
inputs | Input [] |
packages/providers/src/transaction-summary/types.ts:112
Ƭ MerkleProof: Object
Name | Type |
---|---|
proofIndex | BN |
proofSet | string [] |
packages/providers/src/message.ts:31
Ƭ Message: Object
A Fuel message
Name | Type |
---|---|
amount | BN |
daHeight | BN |
data | BytesLike |
messageId | BytesLike |
nonce | BytesLike |
recipient | AbstractAddress |
sender | AbstractAddress |
packages/providers/src/message.ts:11
Ƭ MessageCoin: Object
Name | Type |
---|---|
amount | BN |
assetId | string |
daHeight | BN |
nonce | BytesLike |
recipient | AbstractAddress |
sender | AbstractAddress |
packages/providers/src/message.ts:22
Ƭ MessageProof: Object
Message Proof
Name | Type |
---|---|
amount | BN |
blockProof | MerkleProof |
commitBlockHeader | BlockHeader |
data | string |
messageBlockHeader | BlockHeader |
messageProof | MerkleProof |
nonce | string |
recipient | AbstractAddress |
sender | AbstractAddress |
packages/providers/src/message.ts:52
Ƭ MessageStatus: Object
Message Status
Name | Type |
---|---|
state | GqlMessageState |
packages/providers/src/message.ts:67
Ƭ MessageTransactionRequestInput: Object
Name | Type | Description |
---|---|---|
amount | BigNumberish | Amount of coins |
data? | BytesLike | data of message |
nonce | BytesLike | Unique nonce of message |
predicate? | BytesLike | Predicate bytecode |
predicateData? | BytesLike | Predicate input data (parameters) |
predicateGasUsed? | BigNumberish | Gas used by predicate |
recipient | BytesLike | Address of recipient |
sender | BytesLike | Address of sender |
type | InputType.Message | - |
witnessIndex | number | Index of witness that authorizes the message |
packages/providers/src/transaction-request/input.ts:44
Ƭ NodeInfo: Object
Node information
Name | Type |
---|---|
maxDepth | BN |
maxTx | BN |
minGasPrice | BN |
nodeVersion | string |
peers | GqlPeerInfo [] |
utxoValidation | boolean |
vmBacktrace | boolean |
packages/providers/src/provider.ts:117
Ƭ NodeInfoAndConsensusParameters: Object
Name | Type |
---|---|
gasPerByte | BN |
gasPriceFactor | BN |
maxGasPerTx | BN |
minGasPrice | BN |
nodeVersion | string |
packages/providers/src/provider.ts:127
Ƭ Operation: Object
Name | Type |
---|---|
assetsSent? | OperationCoin [] |
calls? | OperationFunctionCall [] |
from? | OperationTransactionAddress |
name? | OperationName |
to? | OperationTransactionAddress |
packages/providers/src/transaction-summary/types.ts:82
Ƭ OperationCoin: Object
Name | Type |
---|---|
amount | BNInput |
assetId | string |
packages/providers/src/transaction-summary/types.ts:71
Ƭ OperationFunctionCall: { argumentsProvided?
: Record
<string
, unknown
> ; functionName
: string
; functionSignature
: string
} & Partial
<OperationCoin
>
packages/providers/src/transaction-summary/types.ts:76
Ƭ OperationTransactionAddress: Object
Name | Type |
---|---|
address | string |
chain? | ChainName |
type | AddressType |
packages/providers/src/transaction-summary/types.ts:106
Ƭ OutputParam: Object
Name | Type |
---|---|
outputs | Output [] |
packages/providers/src/transaction-summary/types.ts:116
Ƭ ProgramState: SuccessStatus
["programState"
]
packages/providers/src/transaction-summary/types.ts:22
Ƭ ProviderCallParams: UTXOValidationParams
& EstimateTransactionParams
Provider Call transaction params
packages/providers/src/provider.ts:250
Ƭ ProviderOptions: Object
Name | Type |
---|---|
cacheUtxo? | number |
fetch? | (url : string , options : FetchRequestOptions , providerOptions : Omit <ProviderOptions , "fetch" >) => Promise <Response > |
retryOptions? | RetryOptions |
timeout? | number |
packages/providers/src/provider.ts:216
Ƭ ProviderSendTxParams: EstimateTransactionParams
& { awaitExecution?
: boolean
}
Provider Send transaction params
packages/providers/src/provider.ts:255
Ƭ RawCoin: Object
Name | Type |
---|---|
amount | string |
assetId | string |
blockCreated | string |
maturity | string |
owner | string |
txCreatedIdx | string |
utxoId | string |
packages/providers/src/resource.ts:6
Ƭ RawMessage: Object
Name | Type |
---|---|
amount | string |
assetId | string |
daHeight | string |
data | string |
nonce | string |
recipient | string |
sender | string |
packages/providers/src/resource.ts:16
Ƭ RawPayloadParam: Object
Name | Type |
---|---|
rawPayload? | string |
packages/providers/src/transaction-summary/types.ts:126
Ƭ RawResource: RawCoin
| RawMessage
packages/providers/src/resource.ts:26
Ƭ Reason: FailureStatus
["reason"
]
packages/providers/src/transaction-summary/types.ts:21
Ƭ ReceiptParam: Object
Name | Type |
---|---|
receipts | TransactionResultReceipt [] |
packages/providers/src/transaction-summary/types.ts:120
Ƭ Resource: Coin
| MessageCoin
packages/providers/src/resource.ts:27
Ƭ SqueezedOutStatus: Extract
<GraphqlTransactionStatus
, { __typename
: "SqueezedOutStatus"
}>
packages/providers/src/transaction-summary/types.ts:16
Ƭ SubmittedStatus: Extract
<GraphqlTransactionStatus
, { __typename
: "SubmittedStatus"
}>
packages/providers/src/transaction-summary/types.ts:15
Ƭ SuccessStatus: Extract
<GraphqlTransactionStatus
, { __typename
: "SuccessStatus"
}>
packages/providers/src/transaction-summary/types.ts:13
Ƭ Time: SubmittedStatus
["time"
] | SuccessStatus
["time"
] | FailureStatus
["time"
]
packages/providers/src/transaction-summary/types.ts:23
Ƭ TransactionCost: Object
Name | Type |
---|---|
gasPrice | BN |
gasUsed | BN |
maxFee | BN |
maxGas | BN |
minFee | BN |
minGas | BN |
minGasPrice | BN |
receipts | TransactionResultReceipt [] |
requiredQuantities | CoinQuantity [] |
usedFee | BN |
packages/providers/src/provider.ts:136
Ƭ TransactionCostParams: EstimateTransactionParams
& EstimatePredicateParams
packages/providers/src/provider.ts:245
Ƭ TransactionRequest: ScriptTransactionRequest
| CreateTransactionRequest
packages/providers/src/transaction-request/types.ts:12
Ƭ TransactionRequestInput: CoinTransactionRequestInput
| ContractTransactionRequestInput
| MessageTransactionRequestInput
packages/providers/src/transaction-request/input.ts:84
Ƭ TransactionRequestLike: { type
: Script
} & ScriptTransactionRequestLike
| { type
: Create
} & CreateTransactionRequestLike
packages/providers/src/transaction-request/types.ts:13
Ƭ TransactionRequestOutput: CoinTransactionRequestOutput
| ContractTransactionRequestOutput
| ChangeTransactionRequestOutput
| VariableTransactionRequestOutput
| ContractCreatedTransactionRequestOutput
packages/providers/src/transaction-request/output.ts:41
Ƭ TransactionResultBurnReceipt: ReceiptBurn
packages/providers/src/transaction-response/transaction-response.ts:56
Ƭ TransactionResultMintReceipt: ReceiptMint
packages/providers/src/transaction-response/transaction-response.ts:55
Ƭ TransactionSummary<TTransactionType
>: Object
Name | Type |
---|---|
TTransactionType | void |
Name | Type |
---|---|
blockId? | BlockId |
burnedAssets | BurnedAsset [] |
date? | Date |
fee | BN |
gasUsed | BN |
id? | string |
isStatusFailure | boolean |
isStatusPending | boolean |
isStatusSuccess | boolean |
isTypeCreate | boolean |
isTypeMint | boolean |
isTypeScript | boolean |
mintedAssets | MintedAsset [] |
operations | Operation [] |
receipts | TransactionResultReceipt [] |
status? | TransactionStatus |
time? | string |
transaction | Transaction <TTransactionType > |
type | TransactionTypeName |
packages/providers/src/transaction-summary/types.ts:153
Ƭ UTXOValidationParams: Object
UTXO Validation Param
Name | Type |
---|---|
utxoValidation? | boolean |
packages/providers/src/provider.ts:230
Ƭ VariableTransactionRequestOutput: Object
Name | Type |
---|---|
type | OutputType.Variable |
packages/providers/src/transaction-request/output.ts:31
▸ addAmountToAsset(params
): CoinQuantity
[]
Name | Type |
---|---|
params | IAddAmountToAssetParams |
CoinQuantity
[]
packages/providers/src/coin-quantity.ts:41
▸ assembleReceiptByType(receipt
): ReceiptCall
| ReceiptReturn
| ReceiptReturnData
| ReceiptPanic
| ReceiptRevert
| ReceiptLog
| ReceiptLogData
| ReceiptTransfer
| ReceiptTransferOut
| ReceiptScriptResult
| ReceiptMessageOut
| ReceiptMint
| ReceiptBurn
Name | Type |
---|---|
receipt | GqlReceiptFragmentFragment |
ReceiptCall
| ReceiptReturn
| ReceiptReturnData
| ReceiptPanic
| ReceiptRevert
| ReceiptLog
| ReceiptLogData
| ReceiptTransfer
| ReceiptTransferOut
| ReceiptScriptResult
| ReceiptMessageOut
| ReceiptMint
| ReceiptBurn
packages/providers/src/utils/receipts.ts:69
▸ calculateMetadataGasForTxCreate(«destructured»
): BN
Name | Type |
---|---|
«destructured» | Object |
› contractBytesSize | BN |
› gasCosts | GqlGasCosts |
› stateRootSize | number |
› txBytesSize | number |
BN
packages/providers/src/utils/gas.ts:106
▸ calculateMetadataGasForTxScript(«destructured»
): BN
Name | Type |
---|---|
«destructured» | Object |
› gasCosts | GqlGasCosts |
› txBytesSize | number |
BN
packages/providers/src/utils/gas.ts:127
▸ calculateTransactionFee(params
): Object
Name | Type |
---|---|
params | CalculateTransactionFeeParams |
Object
Name | Type |
---|---|
fee | BN |
feeFromGasUsed | BN |
maxFee | BN |
minFee | BN |
packages/providers/src/transaction-summary/calculate-transaction-fee.ts:29
▸ extractBurnedAssetsFromReceipts(receipts
): MintedAsset
[]
Name | Type |
---|---|
receipts | TransactionResultReceipt [] |
MintedAsset
[]
packages/providers/src/transaction-summary/receipt.ts:51
▸ extractMintedAssetsFromReceipts(receipts
): MintedAsset
[]
Name | Type |
---|---|
receipts | TransactionResultReceipt [] |
MintedAsset
[]
packages/providers/src/transaction-summary/receipt.ts:32
▸ fromDateToTai64(date
): string
Name | Type |
---|---|
date | Date |
string
packages/providers/src/transaction-summary/date.ts:8
▸ fromTai64ToDate(tai64Timestamp
): Date
Name | Type |
---|---|
tai64Timestamp | string |
Date
packages/providers/src/transaction-summary/date.ts:3
▸ gasUsedByInputs(inputs
, txBytesSize
, gasCosts
): BN
Name | Type |
---|---|
inputs | (TransactionRequestInput | Input )[] |
txBytesSize | number |
gasCosts | GqlGasCosts |
BN
packages/providers/src/utils/gas.ts:40
▸ getMaxGas(params
): BN
Name | Type |
---|---|
params | IGetMaxGasParams |
BN
packages/providers/src/utils/gas.ts:94
▸ getMinGas(params
): BN
Name | Type |
---|---|
params | IGetMinGasParams |
BN
packages/providers/src/utils/gas.ts:74
▸ getTransactionSummary<TTransactionType
>(params
): Promise
<TransactionResult
>
Name | Type |
---|---|
TTransactionType | void |
Name | Type |
---|---|
params | GetTransactionSummaryParams |
Promise
<TransactionResult
>
packages/providers/src/transaction-summary/get-transaction-summary.ts:25
▸ processGqlReceipt(gqlReceipt
): TransactionResultReceipt
Name | Type |
---|---|
gqlReceipt | GqlReceiptFragmentFragment |
TransactionResultReceipt
packages/providers/src/transaction-summary/receipt.ts:9
▸ resolveGasDependentCosts(byteSize
, gasDependentCost
): BN
Name | Type |
---|---|
byteSize | BNInput |
gasDependentCost | GqlDependentCost |
BN