Ƭ 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:54
Ƭ 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
Ƭ BuildPredicateOptions: { fundTransaction?
: boolean
} & Pick
<TransactionRequestLike
, "gasLimit"
| "gasPrice"
| "maturity"
>
packages/providers/src/provider.ts:185
Ƭ BurnedAsset: MintedAsset
packages/providers/src/transaction-summary/types.ts:146
Ƭ CallResult: Object
Name | Type |
---|---|
receipts | TransactionResultReceipt [] |
packages/providers/src/provider.ts:47
Ƭ ChainInfo: Object
Chain information
Name | Type |
---|---|
baseChainHeight | BN |
consensusParameters | ConsensusParameters |
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 |
peerCount | number |
packages/providers/src/provider.ts:90
Ƭ 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:64
Ƭ 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
Ƭ CustomFetch<R
>: (url
: string
, options
: FetchRequestOptions
, providerOptions?
: Partial
<Omit
<ProviderOptions
<R
>, "fetch"
>>) => Promise
<R
>
Name | Type |
---|---|
R | extends Response = Response |
▸ (url
, options
, providerOptions?
): Promise
<R
>
Name | Type |
---|---|
url | string |
options | FetchRequestOptions |
providerOptions? | Partial <Omit <ProviderOptions <R >, "fetch" >> |
Promise
<R
>
packages/providers/src/provider.ts:195
Ƭ 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:189
Ƭ GetOperationParams: { abiMap?
: AbiMap
; transactionType
: TransactionType
} & InputOutputParam
& ReceiptParam
& RawPayloadParam
packages/providers/src/transaction-summary/types.ts:132
Ƭ 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 |
utxoValidation | boolean |
vmBacktrace | boolean |
packages/providers/src/provider.ts:106
Ƭ NodeInfoAndConsensusParameters: Object
Name | Type |
---|---|
gasPerByte | BN |
gasPriceFactor | BN |
maxGasPerTx | BN |
minGasPrice | BN |
nodeVersion | string |
packages/providers/src/provider.ts:115
Ƭ 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: Object
Provider Call transaction params
Name | Type |
---|---|
utxoValidation? | boolean |
packages/providers/src/provider.ts:211
Ƭ ProviderOptions<FetchResponse
>: Object
Name | Type |
---|---|
FetchResponse | extends Response = Response |
Name | Type |
---|---|
cacheUtxo | number | undefined |
fetch | CustomFetch <FetchResponse > | undefined |
timeout | number | undefined |
packages/providers/src/provider.ts:203
Ƭ 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 |
---|---|
fee | BN |
gasPrice | BN |
gasUsed | BN |
minGasPrice | BN |
packages/providers/src/provider.ts:124
Ƭ 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:148
Ƭ VariableTransactionRequestOutput: Object
Name | Type |
---|---|
type | OutputType.Variable |
packages/providers/src/transaction-request/output.ts:31
▸ assembleReceiptByType(receipt
): ReceiptCall
| ReceiptReturn
| ReceiptReturnData
| ReceiptPanic
| ReceiptRevert
| ReceiptLog
| ReceiptLogData
| ReceiptTransfer
| ReceiptTransferOut
| ReceiptScriptResult
| ReceiptMessageOut
| ReceiptMint
| ReceiptBurn
Name | Type |
---|---|
receipt | GqlReceipt |
ReceiptCall
| ReceiptReturn
| ReceiptReturnData
| ReceiptPanic
| ReceiptRevert
| ReceiptLog
| ReceiptLogData
| ReceiptTransfer
| ReceiptTransferOut
| ReceiptScriptResult
| ReceiptMessageOut
| ReceiptMint
| ReceiptBurn
packages/providers/src/utils/receipts.ts:69
▸ extractBurnedAssetsFromReceipts(receipts
): MintedAsset
[]
Name | Type |
---|---|
receipts | TransactionResultReceipt [] |
MintedAsset
[]
packages/providers/src/transaction-summary/receipt.ts:49
▸ extractMintedAssetsFromReceipts(receipts
): MintedAsset
[]
Name | Type |
---|---|
receipts | TransactionResultReceipt [] |
MintedAsset
[]
packages/providers/src/transaction-summary/receipt.ts:30
▸ 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
▸ 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 | GqlReceipt |
TransactionResultReceipt