Namespace: types
Namespaces​
Enumerations​
- ValidateType
- Uint
- Literal
- TransactionType
- TransactionStatus
- TransactionFinalityStatus
- TransactionExecutionStatus
- BlockStatus
- BlockTag
- EntryPointType
Interfaces​
- EstimateFee
- UniversalDetails
- EstimateFeeDetails
- DeployContractResponse
- Uint256
- Uint512
- CallStruct
- Program
- ProviderOptions
- MessageToL1
- EstimateFeeResponse
References​
TypedDataRevision​
Re-exports TypedDataRevision
StarknetEnumType​
Re-exports StarknetEnumType
StarknetMerkleType​
Re-exports StarknetMerkleType
StarknetType​
Re-exports StarknetType
StarknetDomain​
Re-exports StarknetDomain
TypedData​
Re-exports TypedData
Type Aliases​
EstimateFeeBulk​
Ƭ EstimateFeeBulk: EstimateFee
[]
Defined in​
AccountInvocationsFactoryDetails​
Ƭ AccountInvocationsFactoryDetails: { versions
: `${ETransactionVersion}`[] ; nonce?
: BigNumberish
; blockIdentifier?
: BlockIdentifier
; skipValidate?
: boolean
} & Partial
<V3TransactionDetails
>
Defined in​
MultiDeployContractResponse​
Ƭ MultiDeployContractResponse: Object
Type declaration​
Name | Type |
---|---|
contract_address | string [] |
transaction_hash | string |
Defined in​
DeployContractUDCResponse​
Ƭ DeployContractUDCResponse: Object
Type declaration​
Name | Type |
---|---|
contract_address | string |
transaction_hash | string |
address | string |
deployer | string |
unique | string |
classHash | string |
calldata_len | string |
calldata | string [] |
salt | string |
Defined in​
DeclareDeployUDCResponse​
Ƭ DeclareDeployUDCResponse: Object
Type declaration​
Name | Type |
---|---|
declare | { class_hash : BigNumberish } & Partial <DeclareTransactionReceiptResponse > |
deploy | DeployContractUDCResponse |
Defined in​
SimulateTransactionDetails​
Ƭ SimulateTransactionDetails: { nonce?
: BigNumberish
; blockIdentifier?
: BlockIdentifier
; skipValidate?
: boolean
; skipExecute?
: boolean
} & Partial
<V3TransactionDetails
>
Defined in​
EstimateFeeAction​
Ƭ EstimateFeeAction: { type
: INVOKE
; payload
: AllowArray
<Call
> } | { type
: DECLARE
; payload
: DeclareContractPayload
} | { type
: DEPLOY_ACCOUNT
; payload
: DeployAccountContractPayload
} | { type
: DEPLOY
; payload
: UniversalDeployerContractPayload
}
Defined in​
StarkProfile​
Ƭ StarkProfile: Object
Type declaration​
Name | Type |
---|---|
name? | string |
profilePicture? | string |
discord? | string |
twitter? | string |
github? | string |
proofOfPersonhood? | boolean |
Defined in​
AsyncContractFunction​
Ƭ AsyncContractFunction<T
>: (...args
: ArgsOrCalldataWithOptions
) => Promise
<T
>
Type parameters​
Name | Type |
---|---|
T | any |
Type declaration​
â–¸ (...args
): Promise
<T
>
Parameters​
Name | Type |
---|---|
...args | ArgsOrCalldataWithOptions |
Returns​
Promise
<T
>
Defined in​
ContractFunction​
Ƭ ContractFunction: (...args
: ArgsOrCalldataWithOptions
) => any
Type declaration​
â–¸ (...args
): any
Parameters​
Name | Type |
---|---|
...args | ArgsOrCalldataWithOptions |
Returns​
any
Defined in​
Result​
Ƭ Result: { [key: string]
: any
; } | Result
[] | bigint
| string
| boolean
| CairoEnum
Defined in​
ArgsOrCalldata​
Ƭ ArgsOrCalldata: RawArgsArray
| [Calldata
] | Calldata
Defined in​
ArgsOrCalldataWithOptions​
Ƭ ArgsOrCalldataWithOptions: ArgsOrCalldata
& ContractOptions
Defined in​
ContractOptions​
Ƭ ContractOptions: Object
Type declaration​
Name | Type |
---|---|
blockIdentifier? | BlockIdentifier |
parseRequest? | boolean |
parseResponse? | boolean |
formatResponse? | { [key: string] : any ; } |
maxFee? | BigNumberish |
nonce? | BigNumberish |
signature? | Signature |
addressSalt? | string |
Defined in​
CallOptions​
Ƭ CallOptions: Pick
<ContractOptions
, "blockIdentifier"
| "parseRequest"
| "parseResponse"
| "formatResponse"
>
Defined in​
InvokeOptions​
Ƭ InvokeOptions: Pick
<ContractOptions
, "maxFee"
| "nonce"
| "signature"
| "parseRequest"
>
Defined in​
ParsedEvent​
Ƭ ParsedEvent: Object
Index signature​
â–ª [name: string
]: ParsedStruct
Defined in​
ParsedEvents​
Ƭ ParsedEvents: ParsedEvent
[]
Defined in​
WeierstrassSignatureType​
Ƭ WeierstrassSignatureType: SignatureType
Defined in​
ArraySignatureType​
Ƭ ArraySignatureType: string
[]
Defined in​
Signature​
Ƭ Signature: ArraySignatureType
| WeierstrassSignatureType
Defined in​
BigNumberish​
Ƭ BigNumberish: string
| number
| bigint
Defined in​
ByteArray​
Ƭ ByteArray: Object
Type declaration​
Name | Type |
---|---|
data | BigNumberish [] |
pending_word | BigNumberish |
pending_word_len | BigNumberish |
Defined in​
Calldata​
Ƭ Calldata: string
[] & { __compiled__?
: true
}
Compiled calldata ready to be sent
decimal-string array
Defined in​
RawCalldata​
Ƭ RawCalldata: BigNumberish
[]
BigNumberish array
use CallData.compile() to convert to Calldata
Defined in​
HexCalldata​
Ƭ HexCalldata: string
[]
Hexadecimal-string array
Defined in​
AllowArray​
Ƭ AllowArray<T
>: T
| T
[]
Type parameters​
Name |
---|
T |
Defined in​
OptionalPayload​
Ƭ OptionalPayload<T
>: { payload
: T
} | T
Type parameters​
Name |
---|
T |
Defined in​
RawArgs​
Ƭ RawArgs: RawArgsObject
| RawArgsArray
Defined in​
RawArgsObject​
Ƭ RawArgsObject: Object
Index signature​
â–ª [inputName: string
]: MultiType
| MultiType
[] | RawArgs
Defined in​
RawArgsArray​
Ƭ RawArgsArray: (MultiType
| MultiType
[] | RawArgs
)[]
Defined in​
MultiType​
Ƭ MultiType: BigNumberish
| Uint256
| object
| boolean
| CairoEnum
Defined in​
UniversalDeployerContractPayload​
Ƭ UniversalDeployerContractPayload: Object
Type declaration​
Name | Type |
---|---|
classHash | BigNumberish |
salt? | string |
unique? | boolean |
constructorCalldata? | RawArgs |
Defined in​
DeployAccountContractPayload​
Ƭ DeployAccountContractPayload: Object
Type declaration​
Name | Type |
---|---|
classHash | string |
constructorCalldata? | RawArgs |
addressSalt? | BigNumberish |
contractAddress? | string |
Defined in​
DeployAccountContractTransaction​
Ƭ DeployAccountContractTransaction: Omit
<DeployAccountContractPayload
, "contractAddress"
> & { signature?
: Signature
}
Defined in​
DeclareContractPayload​
Ƭ DeclareContractPayload: Object
Type declaration​
Name | Type |
---|---|
contract | CompiledContract | string |
classHash? | string |
casm? | CompiledSierraCasm |
compiledClassHash? | string |
Defined in​
CompleteDeclareContractPayload​
Ƭ CompleteDeclareContractPayload: Object
Type declaration​
Name | Type |
---|---|
contract | CompiledContract | string |
classHash | string |
casm? | CompiledSierraCasm |
compiledClassHash? | string |
Defined in​
DeclareAndDeployContractPayload​
Ƭ DeclareAndDeployContractPayload: Omit
<UniversalDeployerContractPayload
, "classHash"
> & DeclareContractPayload
Defined in​
DeclareContractTransaction​
Ƭ DeclareContractTransaction: Object
Type declaration​
Name | Type |
---|---|
contract | ContractClass |
senderAddress | string |
signature? | Signature |
compiledClassHash? | string |
Defined in​
CallDetails​
Ƭ CallDetails: Object
Type declaration​
Name | Type |
---|---|
contractAddress | string |
calldata? | RawArgs | Calldata |
entrypoint? | string |
Defined in​
Invocation​
Ƭ Invocation: CallDetails
& { signature?
: Signature
}
Defined in​
Call​
Ƭ Call: CallDetails
& { entrypoint
: string
}
Defined in​
CairoVersion​
Ƭ CairoVersion: "0"
| "1"
| undefined
Defined in​
CompilerVersion​
Ƭ CompilerVersion: "0"
| "1"
| "2"
| undefined
Defined in​
InvocationsDetails​
Ƭ InvocationsDetails: { nonce?
: BigNumberish
; maxFee?
: BigNumberish
; version?
: BigNumberish
} & Partial
<V3TransactionDetails
>
Defined in​
V3TransactionDetails​
Ƭ V3TransactionDetails: Object
Type declaration​
Name | Type |
---|---|
nonce | BigNumberish |
version | BigNumberish |
resourceBounds | ResourceBounds |
tip | BigNumberish |
paymasterData | BigNumberish [] |
accountDeploymentData | BigNumberish [] |
nonceDataAvailabilityMode | EDataAvailabilityMode |
feeDataAvailabilityMode | EDataAvailabilityMode |
Defined in​
Details​
Ƭ Details: Object
Contain all additional details params
Type declaration​
Name | Type |
---|---|
nonce | BigNumberish |
maxFee | BigNumberish |
version | BigNumberish |
chainId | StarknetChainId |
Defined in​
InvocationsDetailsWithNonce​
Ƭ InvocationsDetailsWithNonce: InvocationsDetails
& { nonce
: BigNumberish
} | V3TransactionDetails
Defined in​
BlockNumber​
Ƭ BlockNumber: BlockTag
| null
| number
Defined in​
BlockIdentifier​
Ƭ BlockIdentifier: BlockNumber
| BigNumberish
hex string and BigInt are detected as block hashes
decimal string and number are detected as block numbers
text string are detected as block tag
null return 'pending' block tag
Defined in​
AccountInvocationItem​
Ƭ AccountInvocationItem: { type
: typeof DECLARE
} & DeclareContractTransaction
| { type
: typeof DEPLOY_ACCOUNT
} & DeployAccountContractTransaction
| { type
: typeof INVOKE
} & Invocation
& InvocationsDetailsWithNonce
items used by AccountInvocations
Defined in​
AccountInvocations​
Ƭ AccountInvocations: AccountInvocationItem
[]
Complete invocations array with account details (internal type from account -> provider)
Defined in​
Invocations​
Ƭ Invocations: ({ type
: typeof DECLARE
} & OptionalPayload
<DeclareContractPayload
> | { type
: typeof DEPLOY
} & OptionalPayload
<AllowArray
<UniversalDeployerContractPayload
>> | { type
: typeof DEPLOY_ACCOUNT
} & OptionalPayload
<DeployAccountContractPayload
> | { type
: typeof INVOKE
} & OptionalPayload
<AllowArray
<Call
>>)[]
Invocations array user provide to bulk method (simulate)
Defined in​
Tupled​
Ƭ Tupled: Object
Type declaration​
Name | Type |
---|---|
element | any |
type | string |
Defined in​
Args​
Ƭ Args: Object
Index signature​
â–ª [inputName: string
]: BigNumberish
| BigNumberish
[] | ParsedStruct
| ParsedStruct
[]
Defined in​
ParsedStruct​
Ƭ ParsedStruct: Object
Index signature​
â–ª [key: string
]: BigNumberish
| BigNumberish
[] | ParsedStruct
| Uint256
Defined in​
waitForTransactionOptions​
Ƭ waitForTransactionOptions: Object
Type declaration​
Name | Type |
---|---|
retryInterval? | number |
successStates? | (TransactionFinalityStatus | TransactionExecutionStatus )[] |
errorStates? | (TransactionFinalityStatus | TransactionExecutionStatus )[] |
Defined in​
getSimulateTransactionOptions​
Ƭ getSimulateTransactionOptions: Object
Type declaration​
Name | Type |
---|---|
blockIdentifier? | BlockIdentifier |
skipValidate? | boolean |
skipExecute? | boolean |
skipFeeCharge? | boolean |
Defined in​
getContractVersionOptions​
Ƭ getContractVersionOptions: Object
Type declaration​
Name | Type |
---|---|
blockIdentifier? | BlockIdentifier |
compiler? | boolean |
Defined in​
getEstimateFeeBulkOptions​
Ƭ getEstimateFeeBulkOptions: Object
Type declaration​
Name | Type |
---|---|
blockIdentifier? | BlockIdentifier |
skipValidate? | boolean |
Defined in​
ContractVersion​
Ƭ ContractVersion: Object
Represent Contract version
Type declaration​
Name | Type | Description |
---|---|---|
cairo | CairoVersion | version of the cairo language |
compiler | CompilerVersion | version of the cairo compiler used to compile the contract |
Defined in​
ContractClass​
Ƭ ContractClass: LegacyContractClass
| SierraContractClass
format produced after compressing compiled contract
CompressedCompiledContract
Defined in​
src/types/lib/contract/index.ts:10
CompiledContract​
Ƭ CompiledContract: LegacyCompiledContract
| CompiledSierra
format produced after compile .cairo to .json
Defined in​
src/types/lib/contract/index.ts:15
CairoContract​
Ƭ CairoContract: ContractClass
| CompiledContract
Compressed or decompressed Cairo0 or Cairo1 Contract
Defined in​
src/types/lib/contract/index.ts:20
Abi​
Ƭ Abi: ReadonlyArray
<FunctionAbi
| AbiEvent
| AbiStruct
| InterfaceAbi
| any
>
ABI
Defined in​
src/types/lib/contract/abi.ts:4
AbiEntry​
Ƭ AbiEntry: Object
Type declaration​
Name | Type |
---|---|
name | string |
type | "felt" | "felt*" | string |
Defined in​
src/types/lib/contract/abi.ts:7
EventEntry​
Ƭ EventEntry: Object
Type declaration​
Name | Type |
---|---|
name | string |
type | "felt" | "felt*" | string |
kind | "key" | "data" |
Defined in​
src/types/lib/contract/abi.ts:9
FunctionAbi​
Ƭ FunctionAbi: Object
Type declaration​
Name | Type |
---|---|
inputs | AbiEntry [] |
name | string |
outputs | AbiEntry [] |
stateMutability? | "view" |
state_mutability? | string |
type | FunctionAbiType |
Defined in​
src/types/lib/contract/abi.ts:14
AbiStructs​
Ƭ AbiStructs: Object
Index signature​
â–ª [name: string
]: AbiStruct
Defined in​
src/types/lib/contract/abi.ts:23
AbiStruct​
Ƭ AbiStruct: Object
Type declaration​
Name | Type |
---|---|
members | AbiEntry & { offset : number }[] |
name | string |
size | number |
type | "struct" |
Defined in​
src/types/lib/contract/abi.ts:25
AbiInterfaces​
Ƭ AbiInterfaces: Object
Index signature​
â–ª [name: string
]: InterfaceAbi
Defined in​
src/types/lib/contract/abi.ts:32
InterfaceAbi​
Ƭ InterfaceAbi: Object
Type declaration​
Name | Type |
---|---|
items | FunctionAbi [] |
name | string |
type | "interface" |
Defined in​
src/types/lib/contract/abi.ts:33
AbiEnums​
Ƭ AbiEnums: Object
Index signature​
â–ª [name: string
]: AbiEnum
Defined in​
src/types/lib/contract/abi.ts:39
AbiEnum​
Ƭ AbiEnum: Object
Type declaration​
Name | Type |
---|---|
variants | AbiEntry & { offset : number }[] |
name | string |
size | number |
type | "enum" |
Defined in​
src/types/lib/contract/abi.ts:40
AbiEvents​
Ƭ AbiEvents: Object
Index signature​
â–ª [hash: string
]: AbiEvent
Defined in​
src/types/lib/contract/abi.ts:53
AbiEvent​
Ƭ AbiEvent: CairoEvent
| LegacyEvent
Defined in​
src/types/lib/contract/abi.ts:57
CairoEvent​
Ƭ CairoEvent: CairoEventDefinition
| AbiEvents
Defined in​
src/types/lib/contract/abi.ts:60
CairoEventDefinition​
Ƭ CairoEventDefinition: STRUCT_EVENT
& { name
: string
; type
: "event"
}
Defined in​
src/types/lib/contract/abi.ts:62
CairoEventVariant​
Ƭ CairoEventVariant: ENUM_EVENT
& { name
: string
; type
: string
}
Defined in​
src/types/lib/contract/abi.ts:67
LegacyEvent​
Ƭ LegacyEvent: Object
Type declaration​
Name | Type |
---|---|
name | string |
type | "event" |
data | EVENT_FIELD [] |
keys | EVENT_FIELD [] |
Defined in​
src/types/lib/contract/abi.ts:72
LegacyContractClass​
Ƭ LegacyContractClass: Object
format produced after compressing 'program' property
Type declaration​
Name | Type |
---|---|
program | CompressedProgram |
entry_points_by_type | EntryPointsByType |
abi | Abi |
Defined in​
src/types/lib/contract/legacy.ts:7
LegacyCompiledContract​
Ƭ LegacyCompiledContract: Omit
<LegacyContractClass
, "program"
> & { program
: Program
}
format produced after compiling .cairo to .json
Defined in​
src/types/lib/contract/legacy.ts:16
Builtins​
Ƭ Builtins: string
[]
SUBTYPES
Defined in​
src/types/lib/contract/legacy.ts:21
CompressedProgram​
Ƭ CompressedProgram: string
Defined in​
src/types/lib/contract/legacy.ts:22
EntryPointsByType​
Ƭ EntryPointsByType: Object
Type declaration​
Name | Type |
---|---|
CONSTRUCTOR | ContractEntryPointFields [] |
EXTERNAL | ContractEntryPointFields [] |
L1_HANDLER | ContractEntryPointFields [] |
Defined in​
src/types/lib/contract/legacy.ts:24
ContractEntryPointFields​
Ƭ ContractEntryPointFields: Object
Type declaration​
Name | Type |
---|---|
selector | string |
offset | string | number |
builtins? | Builtins |
Defined in​
src/types/lib/contract/legacy.ts:30
CairoAssembly​
Ƭ CairoAssembly: Object
SYSTEM TYPES
Type declaration​
Name | Type |
---|---|
prime | string |
compiler_version | string |
bytecode | ByteCode |
hints | any [] |
pythonic_hints? | PythonicHints |
bytecode_segment_lengths? | number [] |
entry_points_by_type | EntryPointsByType |
Defined in​
src/types/lib/contract/sierra.ts:5
CompiledSierra​
Ƭ CompiledSierra: Object
format produced after starknet-compile .cairo to .json
sierra_program is hex array
Type declaration​
Name | Type |
---|---|
sierra_program | ByteCode |
sierra_program_debug_info? | SierraProgramDebugInfo |
contract_class_version | string |
entry_points_by_type | SierraEntryPointsByType |
abi | Abi |
Defined in​
src/types/lib/contract/sierra.ts:21
SierraContractClass​
Ƭ SierraContractClass: Omit
<CompiledSierra
, "abi"
| "sierra_program_debug_info"
> & { sierra_program
: string
; abi
: string
}
format produced after compressing 'sierra_program', stringifies 'abi' property and omit sierra_program_debug_info
CompressedCompiledSierra
Defined in​
src/types/lib/contract/sierra.ts:34
CompiledSierraCasm​
Ƭ CompiledSierraCasm: CairoAssembly
Defined in​
src/types/lib/contract/sierra.ts:38
ByteCode​
Ƭ ByteCode: string
[]
SUBTYPES
Defined in​
src/types/lib/contract/sierra.ts:41
PythonicHints​
Ƭ PythonicHints: [number
, string
[]][]
Defined in​
src/types/lib/contract/sierra.ts:42
SierraProgramDebugInfo​
Ƭ SierraProgramDebugInfo: Object
Type declaration​
Name | Type |
---|---|
type_names | [number , string ][] |
libfunc_names | [number , string ][] |
user_func_names | [number , string ][] |
Defined in​
src/types/lib/contract/sierra.ts:44
SierraEntryPointsByType​
Ƭ SierraEntryPointsByType: Object
Type declaration​
Name | Type |
---|---|
CONSTRUCTOR | SierraContractEntryPointFields [] |
EXTERNAL | SierraContractEntryPointFields [] |
L1_HANDLER | SierraContractEntryPointFields [] |
Defined in​
src/types/lib/contract/sierra.ts:50
SierraContractEntryPointFields​
Ƭ SierraContractEntryPointFields: Object
Type declaration​
Name | Type |
---|---|
selector | string |
function_idx | number |
Defined in​
src/types/lib/contract/sierra.ts:56
RpcProviderOptions​
Ƭ RpcProviderOptions: Object
Type declaration​
Name | Type |
---|---|
nodeUrl? | string | NetworkName |
retries? | number |
transactionRetryIntervalFallback? | number |
headers? | object |
blockIdentifier? | BlockIdentifier |
chainId? | StarknetChainId |
specVersion? | string |
default? | boolean |
waitMode? | boolean |
feeMarginPercentage? | { l1BoundMaxAmount : number ; l1BoundMaxPricePerUnit : number ; maxFee : number } |
feeMarginPercentage.l1BoundMaxAmount | number |
feeMarginPercentage.l1BoundMaxPricePerUnit | number |
feeMarginPercentage.maxFee | number |
Defined in​
src/types/provider/configuration.ts:6
BlockWithTxHashes​
Ƭ BlockWithTxHashes: Merge
<BlockWithTxHashes
, BlockWithTxHashes
>
Defined in​
src/types/provider/spec.ts:101
ContractClassPayload​
Ƭ ContractClassPayload: Merge
<ContractClass
, ContractClass
>
Defined in​
src/types/provider/spec.ts:102
FeeEstimate​
Ƭ FeeEstimate: Merge
<FEE_ESTIMATE
, FEE_ESTIMATE
>
Defined in​
src/types/provider/spec.ts:104
TransactionReceipt​
Ƭ TransactionReceipt: Merge
<TransactionReceipt
, TransactionReceipt
>
Defined in​
src/types/provider/spec.ts:110
GetBlockResponse​
Ƭ GetBlockResponse: PendingBlock
| Block
Defined in​
src/types/provider/response.ts:42
PendingBlock​
Ƭ PendingBlock: Object
Type declaration​
Name | Type |
---|---|
status | "PENDING" |
parent_hash | BLOCK_HASH |
timestamp | number |
sequencer_address | FELT |
l1_gas_price | RESOURCE_PRICE |
starknet_version | string |
transactions | TXN_HASH [] |
Defined in​
src/types/provider/response.ts:44
Block​
Ƭ Block: Object
Type declaration​
Name | Type |
---|---|
status | "ACCEPTED_ON_L2" | "ACCEPTED_ON_L1" | "REJECTED" |
block_hash | BLOCK_HASH |
parent_hash | BLOCK_HASH |
block_number | BLOCK_NUMBER |
new_root | FELT |
timestamp | number |
sequencer_address | FELT |
l1_gas_price | RESOURCE_PRICE |
starknet_version | string |
transactions | TXN_HASH [] |
Defined in​
src/types/provider/response.ts:54
RevertedTransactionReceiptResponse​
Ƭ RevertedTransactionReceiptResponse: Object
Type declaration​
Name | Type |
---|---|
type? | TransactionType | any |
execution_status | REVERTED | any |
finality_status | TransactionFinalityStatus | any |
status? | TransactionStatus |
actual_fee | string |
block_hash? | string |
block_number? | BlockNumber |
transaction_hash | string |
transaction_index? | number |
messages_sent | MessageToL1 [] |
events | any [] |
revert_reason? | string |
Defined in​
src/types/provider/response.ts:72
RejectedTransactionReceiptResponse​
Ƭ RejectedTransactionReceiptResponse: Object
Type declaration​
Name | Type |
---|---|
status | `${REJECTED}` |
transaction_failure_reason | { code : string ; error_message : string } |
transaction_failure_reason.code | string |
transaction_failure_reason.error_message | string |
Defined in​
src/types/provider/response.ts:87
GetTxReceiptResponseWithoutHelper​
Ƭ GetTxReceiptResponseWithoutHelper: SuccessfulTransactionReceiptResponse
| RevertedTransactionReceiptResponse
| RejectedTransactionReceiptResponse
Defined in​
src/types/provider/response.ts:95
SuccessfulTransactionReceiptResponse​
Ƭ SuccessfulTransactionReceiptResponse: InvokeTransactionReceiptResponse
| DeployTransactionReceiptResponse
| DeclareTransactionReceiptResponse
Defined in​
src/types/provider/response.ts:100
GetTransactionResponse​
Ƭ GetTransactionResponse: TransactionWithHash
Defined in​
src/types/provider/response.ts:105
InvokeTransactionReceiptResponse​
Ƭ InvokeTransactionReceiptResponse: INVOKE_TXN_RECEIPT
| PENDING_INVOKE_TXN_RECEIPT
Defined in​
src/types/provider/response.ts:107
DeclareTransactionReceiptResponse​
Ƭ DeclareTransactionReceiptResponse: DECLARE_TXN_RECEIPT
| PENDING_DECLARE_TXN_RECEIPT
Defined in​
src/types/provider/response.ts:108
DeployTransactionReceiptResponse​
Ƭ DeployTransactionReceiptResponse: InvokeTransactionReceiptResponse
Defined in​
src/types/provider/response.ts:109
DeployAccountTransactionReceiptResponse​
Ƭ DeployAccountTransactionReceiptResponse: DEPLOY_ACCOUNT_TXN_RECEIPT
| PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT
Defined in​
src/types/provider/response.ts:110
L1HandlerTransactionReceiptResponse​
Ƭ L1HandlerTransactionReceiptResponse: L1_HANDLER_TXN_RECEIPT
| PENDING_L1_HANDLER_TXN_RECEIPT
Defined in​
src/types/provider/response.ts:113
EstimateFeeResponseBulk​
Ƭ EstimateFeeResponseBulk: EstimateFeeResponse
[]
Defined in​
src/types/provider/response.ts:128
InvokeFunctionResponse​
Ƭ InvokeFunctionResponse: InvokedTransaction
Defined in​
src/types/provider/response.ts:130
DeclareContractResponse​
Ƭ DeclareContractResponse: DeclaredTransaction
Defined in​
src/types/provider/response.ts:132
CallContractResponse​
Ƭ CallContractResponse: string
[]
Defined in​
src/types/provider/response.ts:134
Storage​
Ƭ Storage: FELT
Defined in​
src/types/provider/response.ts:136
Nonce​
Ƭ Nonce: string
Defined in​
src/types/provider/response.ts:138
SIMULATION_FLAG​
Ƭ SIMULATION_FLAG: Merge
<SIMULATION_FLAG
, SIMULATION_FLAG
>
Defined in​
SimulationFlags​
Ƭ SimulationFlags: SIMULATION_FLAG
[]
Defined in​
src/types/provider/response.ts:141
SimulatedTransaction​
Ƭ SimulatedTransaction: SimulateTransaction
& { suggestedMaxFee
: bigint
; resourceBounds
: ResourceBounds
}
Defined in​
src/types/provider/response.ts:143
SimulateTransactionResponse​
Ƭ SimulateTransactionResponse: SimulatedTransaction
[]
Defined in​
src/types/provider/response.ts:148
StateUpdateResponse​
Ƭ StateUpdateResponse: StateUpdate
| PendingStateUpdate
Defined in​
src/types/provider/response.ts:150
StateUpdate​
Ƭ StateUpdate: STATE_UPDATE
Defined in​
src/types/provider/response.ts:151
PendingStateUpdate​
Ƭ PendingStateUpdate: PENDING_STATE_UPDATE
Defined in​
src/types/provider/response.ts:152
ContractClassResponse​
Ƭ ContractClassResponse: LegacyContractClass
| Omit
<CompiledSierra
, "sierra_program_debug_info"
>
Standardized type
Cairo0 program compressed and Cairo1 sierra_program decompressed
abi Abi
CompiledSierra without '.sierra_program_debug_info'
Defined in​
src/types/provider/response.ts:163
InvocationsSignerDetails​
Ƭ InvocationsSignerDetails: V2InvocationsSignerDetails
| V3InvocationsSignerDetails
& { version
: `${ETransactionVersion}` ; skipValidate?
: boolean
}
Defined in​
V2InvocationsSignerDetails​
Ƭ V2InvocationsSignerDetails: Object
Type declaration​
Name | Type |
---|---|
walletAddress | string |
cairoVersion | CairoVersion |
chainId | StarknetChainId |
nonce | BigNumberish |
maxFee | BigNumberish |
version | `${ETransactionVersion2}` |
Defined in​
V3InvocationsSignerDetails​
Ƭ V3InvocationsSignerDetails: V3TransactionDetails
& { walletAddress
: string
; cairoVersion
: CairoVersion
; chainId
: StarknetChainId
; version
: `${ETransactionVersion3}` }
Defined in​
DeclareSignerDetails​
Ƭ DeclareSignerDetails: V3DeclareSignerDetails
| V2DeclareSignerDetails
& { version
: `${ETransactionVersion}` }
Defined in​
V2DeclareSignerDetails​
Ƭ V2DeclareSignerDetails: Required
<InvocationsDetails
> & { classHash
: string
; compiledClassHash?
: string
; senderAddress
: string
; chainId
: StarknetChainId
; version
: `${ETransactionVersion2}` }
Defined in​
V3DeclareSignerDetails​
Ƭ V3DeclareSignerDetails: V3TransactionDetails
& { classHash
: string
; compiledClassHash
: string
; senderAddress
: string
; chainId
: StarknetChainId
; version
: `${ETransactionVersion3}` }
Defined in​
DeployAccountSignerDetails​
Ƭ DeployAccountSignerDetails: V2DeployAccountSignerDetails
| V3DeployAccountSignerDetails
Defined in​
V2DeployAccountSignerDetails​
Ƭ V2DeployAccountSignerDetails: Required
<DeployAccountContractPayload
> & Required
<InvocationsDetails
> & { contractAddress
: BigNumberish
; chainId
: StarknetChainId
; version
: `${ETransactionVersion2}` }
Defined in​
V3DeployAccountSignerDetails​
Ƭ V3DeployAccountSignerDetails: Required
<DeployAccountContractPayload
> & V3TransactionDetails
& { contractAddress
: BigNumberish
; chainId
: StarknetChainId
; version
: `${ETransactionVersion3}` }
Defined in​
CairoEnum​
Ƭ CairoEnum: CairoCustomEnum
| CairoOption
<any
> | CairoResult
<any
, any
>
Defined in​
TransactionStatusReceiptSets​
Ƭ TransactionStatusReceiptSets: Object
Type declaration​
Name | Type |
---|---|
success | SuccessfulTransactionReceiptResponse |
reverted | RevertedTransactionReceiptResponse |
rejected | RejectedTransactionReceiptResponse |
error | Error |
Defined in​
src/types/transactionReceipt.ts:7
TransactionReceiptStatus​
Ƭ TransactionReceiptStatus: keyof TransactionStatusReceiptSets
Defined in​
src/types/transactionReceipt.ts:13
TransactionReceiptValue​
Ƭ TransactionReceiptValue: TransactionStatusReceiptSets
[TransactionReceiptStatus
]
Defined in​
src/types/transactionReceipt.ts:14
TransactionReceiptCallbacksDefined​
Ƭ TransactionReceiptCallbacksDefined: { [key in TransactionReceiptStatus]: Function }
Defined in​
src/types/transactionReceipt.ts:16
TransactionReceiptCallbacksDefault​
Ƭ TransactionReceiptCallbacksDefault: Partial
<TransactionReceiptCallbacksDefined
> & { _
: () => void
}
Defined in​
src/types/transactionReceipt.ts:19
TransactionReceiptCallbacks​
Ƭ TransactionReceiptCallbacks: TransactionReceiptCallbacksDefined
| TransactionReceiptCallbacksDefault
Defined in​
src/types/transactionReceipt.ts:22
TransactionReceiptUtilityInterface​
Ƭ TransactionReceiptUtilityInterface: { statusReceipt
: TransactionReceiptStatus
; value
: TransactionReceiptValue
; match
: (callbacks
: TransactionReceiptCallbacks
) => void
} & { [key in `is${Capitalize<TransactionReceiptStatus>}`]: Function }