Ƭ AbiParam: Object
Name | Type |
---|---|
abiMap? | { [key: string] : JsonAbi ; } |
packages/providers/src/transaction-summary/types.ts:134
Ƭ Block: Object
A Fuel block
Name | Type |
---|---|
height | BN |
id | string |
time | string |
transactionIds | string [] |
packages/providers/src/provider.ts:52
Ƭ 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:34
Ƭ 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:183
Ƭ BurnedAsset: MintedAsset
packages/providers/src/transaction-summary/types.ts:160
Ƭ CallResult: Object
Name | Type |
---|---|
receipts | TransactionResultReceipt [] |
packages/providers/src/provider.ts:45
Ƭ ChainInfo: Object
Chain information
Name | Type |
---|---|
baseChainHeight | BN |
consensusParameters | { chainId : BN ; contractMaxSize : BN ; gasPerByte : BN ; gasPriceFactor : BN ; maxGasPerPredicate : BN ; maxGasPerTx : BN ; maxInputs : BN ; maxMessageDataLength : BN ; maxOutputs : BN ; maxPredicateDataLength : BN ; maxPredicateLength : BN ; maxScriptDataLength : BN ; maxScriptLength : BN ; maxStorageSlots : BN ; maxWitnesses : BN } |
consensusParameters.chainId | BN |
consensusParameters.contractMaxSize | BN |
consensusParameters.gasPerByte | BN |
consensusParameters.gasPriceFactor | BN |
consensusParameters.maxGasPerPredicate | BN |
consensusParameters.maxGasPerTx | BN |
consensusParameters.maxInputs | BN |
consensusParameters.maxMessageDataLength | BN |
consensusParameters.maxOutputs | BN |
consensusParameters.maxPredicateDataLength | BN |
consensusParameters.maxPredicateLength | BN |
consensusParameters.maxScriptDataLength | BN |
consensusParameters.maxScriptLength | BN |
consensusParameters.maxStorageSlots | BN |
consensusParameters.maxWitnesses | BN |
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:70
Ƭ 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:23
Ƭ 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:9
Ƭ 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:9
Ƭ ContractCreatedTransactionRequestOutput: Object
Name | Type | Description |
---|---|---|
contractId | BytesLike | Contract ID |
stateRoot | BytesLike | State Root |
type | OutputType.ContractCreated | - |
packages/providers/src/transaction-request/output.ts:33
Ƭ ContractResult: Object
Deployed Contract bytecode and contract id
Name | Type |
---|---|
bytecode | string |
id | string |
packages/providers/src/provider.ts:62
Ƭ 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:74
Ƭ ContractTransactionRequestOutput: Object
Name | Type | Description |
---|---|---|
inputIndex | number | Index of input contract |
type | OutputType.Contract | - |
packages/providers/src/transaction-request/output.ts:18
Ƭ 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:187
Ƭ GetOperationParams: { transactionType
: TransactionType
} & InputOutputParam
& ReceiptParam
& AbiParam
& RawPayloadParam
packages/providers/src/transaction-summary/types.ts:146
Ƭ 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:144
Ƭ InputParam: Object
Name | Type |
---|---|
inputs | Input [] |
packages/providers/src/transaction-summary/types.ts:122
Ƭ MerkleProof: Object
Name | Type |
---|---|
proofIndex | BN |
proofSet | string [] |
packages/providers/src/message.ts:29
Ƭ 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:9
Ƭ MessageCoin: Object
Name | Type |
---|---|
amount | BN |
assetId | string |
daHeight | BN |
nonce | BytesLike |
recipient | AbstractAddress |
sender | AbstractAddress |
packages/providers/src/message.ts:20
Ƭ 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:50
Ƭ 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:43
Ƭ NodeInfoAndConsensusParameters: Object
Node information
Name | Type |
---|---|
gasPerByte | BN |
gasPriceFactor | BN |
maxGasPerTx | BN |
minGasPrice | BN |
nodeVersion | string |
packages/providers/src/provider.ts:102
Ƭ Operation: Object
Name | Type |
---|---|
assetsSent? | OperationCoin [] |
calls? | OperationFunctionCall [] |
from? | OperationTransactionAddress |
name? | OperationName |
to? | OperationTransactionAddress |
packages/providers/src/transaction-summary/types.ts:92
Ƭ OperationCoin: Object
Name | Type |
---|---|
amount | BNInput |
assetId | string |
packages/providers/src/transaction-summary/types.ts:81
Ƭ OperationFunctionCall: { argumentsProvided?
: Record
<string
, unknown
> ; functionName
: string
; functionSignature
: string
} & Partial
<OperationCoin
>
packages/providers/src/transaction-summary/types.ts:86
Ƭ OperationTransactionAddress: Object
Name | Type |
---|---|
address | string |
chain? | ChainName |
type | AddressType |
packages/providers/src/transaction-summary/types.ts:116
Ƭ OutputParam: Object
Name | Type |
---|---|
outputs | Output [] |
packages/providers/src/transaction-summary/types.ts:126
Ƭ 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:204
Ƭ ProviderOptions: Object
Name | Type |
---|---|
cacheUtxo? | number |
fetch? | (url : string , options : FetchRequestOptions ) => Promise <unknown > |
packages/providers/src/provider.ts:196
Ƭ 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:140
Ƭ 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:130
Ƭ 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:111
Ƭ TransactionRequest: ScriptTransactionRequest
| CreateTransactionRequest
packages/providers/src/transaction-request/types.ts:12
Ƭ TransactionRequestInput: CoinTransactionRequestInput
| ContractTransactionRequestInput
| MessageTransactionRequestInput
packages/providers/src/transaction-request/input.ts:83
Ƭ 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:40
Ƭ 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 [] |
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? | SimplifiedTransactionStatusNameEnum |
time? | string |
transaction | Transaction <TTransactionType > |
type | TransactionTypeNameEnum |
packages/providers/src/transaction-summary/types.ts:162
Ƭ VariableTransactionRequestOutput: Object
Name | Type |
---|---|
type | OutputType.Variable |
packages/providers/src/transaction-request/output.ts:30
▸ 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:68
▸ extractBurnedAssetsFromReceipts(receipts
): MintedAsset
[]
Name | Type |
---|---|
receipts | TransactionResultReceipt [] |
packages/providers/src/transaction-summary/receipt.ts:51
▸ extractMintedAssetsFromReceipts(receipts
): MintedAsset
[]
Name | Type |
---|---|
receipts | TransactionResultReceipt [] |
packages/providers/src/transaction-summary/receipt.ts:32
▸ processGqlReceipt(gqlReceipt
): TransactionResultReceipt
Name | Type |
---|---|
gqlReceipt | GqlReceiptFragmentFragment |
TransactionResultReceipt