Skip to main content
Version: 5.24.3

Namespace: types

Namespaces​

Enumerations​

Interfaces​

Type Aliases​

CallL1Handler​

Ƭ CallL1Handler: Object

Type declaration​

NameType
from_addressstring
to_addressstring
entry_point_selectorstring
payloadstring[]

Defined in​

src/types/api/sequencer.ts:66


DeployedContractItem​

Ƭ DeployedContractItem: Object

Type declaration​

NameType
addressstring
class_hashstring

Defined in​

src/types/api/sequencer.ts:73


ExecutionResources​

Ƭ ExecutionResources: Object

Type declaration​

NameType
n_stepsnumber
builtin_instance_counter{ pedersen_builtin: number ; range_check_builtin: number ; bitwise_builtin: number ; output_builtin: number ; ecdsa_builtin: number ; ec_op_builtin?: number }
builtin_instance_counter.pedersen_builtinnumber
builtin_instance_counter.range_check_builtinnumber
builtin_instance_counter.bitwise_builtinnumber
builtin_instance_counter.output_builtinnumber
builtin_instance_counter.ecdsa_builtinnumber
builtin_instance_counter.ec_op_builtin?number
n_memory_holesnumber

Defined in​

src/types/api/sequencer.ts:53


FunctionInvocation​

Ƭ FunctionInvocation: Object

Type declaration​

NameType
caller_addressstring
contract_addressstring
calldataRawCalldata
call_type?string
class_hash?string
selector?string
entry_point_type?EXTERNAL
resultany[]
execution_resourcesExecutionResources
internal_callsFunctionInvocation[]
eventsany[]
messagesany[]

Defined in​

src/types/api/sequencer.ts:38


GetContractAddressesResponse​

Ƭ GetContractAddressesResponse: Object

Type declaration​

NameType
Starknetstring
GpsStatementVerifierstring

Defined in​

src/types/api/sequencer.ts:33


GetTransactionStatusResponse​

Ƭ GetTransactionStatusResponse: Object

Type declaration​

NameType
tx_statusTransactionStatus
execution_statusTransactionExecutionStatus
finality_statusTransactionFinalityStatus
block_hash?string
tx_failure_reason?{ code: string ; error_message: string }
tx_failure_reason.codestring
tx_failure_reason.error_messagestring
tx_revert_reason?string

Defined in​

src/types/api/sequencer.ts:21


SequencerIdentifier​

Ƭ SequencerIdentifier: { blockHash: string } | { blockNumber: BlockNumber }

Defined in​

src/types/api/sequencer.ts:78


EstimateFeeBulk​

Ƭ EstimateFeeBulk: EstimateFee[]

Defined in​

src/types/account.ts:8


AccountInvocationsFactoryDetails​

Ƭ AccountInvocationsFactoryDetails: Object

Type declaration​

NameType
versionsbigint[]
nonce?BigNumberish
blockIdentifier?BlockIdentifier

Defined in​

src/types/account.ts:10


MultiDeployContractResponse​

Ƭ MultiDeployContractResponse: Object

Type declaration​

NameType
contract_addressstring[]
transaction_hashstring

Defined in​

src/types/account.ts:27


DeployContractUDCResponse​

Ƭ DeployContractUDCResponse: Object

Type declaration​

NameType
contract_addressstring
transaction_hashstring
addressstring
deployerstring
uniquestring
classHashstring
calldata_lenstring
calldatastring[]
saltstring

Defined in​

src/types/account.ts:32


DeclareDeployUDCResponse​

Ƭ DeclareDeployUDCResponse: Object

Type declaration​

NameType
declare{ class_hash: BigNumberish } & Partial<DeclareTransactionReceiptResponse>
deployDeployContractUDCResponse

Defined in​

src/types/account.ts:44


SimulateTransactionDetails​

Ƭ SimulateTransactionDetails: Object

Type declaration​

NameType
nonce?BigNumberish
blockIdentifier?BlockIdentifier
skipValidate?boolean
skipExecute?boolean

Defined in​

src/types/account.ts:51


AsyncContractFunction​

Ƭ AsyncContractFunction<T>: (...args: ArgsOrCalldataWithOptions) => Promise<T>

Type parameters​

NameType
Tany

Type declaration​

â–¸ (...args): Promise<T>

Parameters​
NameType
...argsArgsOrCalldataWithOptions
Returns​

Promise<T>

Defined in​

src/types/contract.ts:11


ContractFunction​

Ƭ ContractFunction: (...args: ArgsOrCalldataWithOptions) => any

Type declaration​

â–¸ (...args): any

Parameters​
NameType
...argsArgsOrCalldataWithOptions
Returns​

any

Defined in​

src/types/contract.ts:12


Result​

Ƭ Result: { [key: string]: any; } | Result[] | bigint | string | boolean | CairoEnum

Defined in​

src/types/contract.ts:14


ArgsOrCalldata​

Ƭ ArgsOrCalldata: RawArgsArray | [Calldata] | Calldata

Defined in​

src/types/contract.ts:24


ArgsOrCalldataWithOptions​

Ƭ ArgsOrCalldataWithOptions: ArgsOrCalldata & ContractOptions

Defined in​

src/types/contract.ts:25


ContractOptions​

Ƭ ContractOptions: Object

Type declaration​

NameType
blockIdentifier?BlockIdentifier
parseRequest?boolean
parseResponse?boolean
formatResponse?{ [key: string]: any; }
maxFee?BigNumberish
nonce?BigNumberish
signature?Signature
addressSalt?string

Defined in​

src/types/contract.ts:26


CallOptions​

Ƭ CallOptions: Pick<ContractOptions, "blockIdentifier" | "parseRequest" | "parseResponse" | "formatResponse">

Defined in​

src/types/contract.ts:37


InvokeOptions​

Ƭ InvokeOptions: Pick<ContractOptions, "maxFee" | "nonce" | "signature" | "parseRequest">

Defined in​

src/types/contract.ts:42


ParsedEvent​

Ƭ ParsedEvent: Object

Index signature​

â–ª [name: string]: ParsedStruct

Defined in​

src/types/contract.ts:47


ParsedEvents​

Ƭ ParsedEvents: ParsedEvent[]

Defined in​

src/types/contract.ts:49


WeierstrassSignatureType​

Ƭ WeierstrassSignatureType: SignatureType

Defined in​

src/types/lib/index.ts:6


ArraySignatureType​

Ƭ ArraySignatureType: string[]

Defined in​

src/types/lib/index.ts:7


Signature​

Ƭ Signature: ArraySignatureType | WeierstrassSignatureType

Defined in​

src/types/lib/index.ts:8


BigNumberish​

Ƭ BigNumberish: string | number | bigint

Defined in​

src/types/lib/index.ts:10


Calldata​

Ƭ Calldata: string[] & { __compiled__?: boolean }

Compiled calldata ready to be sent decimal-string array

Defined in​

src/types/lib/index.ts:16


RawCalldata​

Ƭ RawCalldata: BigNumberish[]

BigNumberish array use CallData.compile() to convert to Calldata

Defined in​

src/types/lib/index.ts:32


HexCalldata​

Ƭ HexCalldata: string[]

Hexadecimal-string array

Defined in​

src/types/lib/index.ts:37


AllowArray​

Ƭ AllowArray<T>: T | T[]

Type parameters​

Name
T

Defined in​

src/types/lib/index.ts:39


OptionalPayload​

Ƭ OptionalPayload<T>: { payload: T } | T

Type parameters​

Name
T

Defined in​

src/types/lib/index.ts:41


RawArgs​

Ƭ RawArgs: RawArgsObject | RawArgsArray

Defined in​

src/types/lib/index.ts:43


RawArgsObject​

Ƭ RawArgsObject: Object

Index signature​

â–ª [inputName: string]: MultiType | MultiType[] | RawArgs

Defined in​

src/types/lib/index.ts:45


RawArgsArray​

Ƭ RawArgsArray: (MultiType | MultiType[] | RawArgs)[]

Defined in​

src/types/lib/index.ts:49


MultiType​

Ƭ MultiType: BigNumberish | Uint256 | object | boolean | CairoEnum

Defined in​

src/types/lib/index.ts:51


UniversalDeployerContractPayload​

Ƭ UniversalDeployerContractPayload: Object

Type declaration​

NameType
classHashBigNumberish
salt?string
unique?boolean
constructorCalldata?RawArgs

Defined in​

src/types/lib/index.ts:53


DeployAccountContractPayload​

Ƭ DeployAccountContractPayload: Object

Type declaration​

NameType
classHashstring
constructorCalldata?RawArgs
addressSalt?BigNumberish
contractAddress?string

Defined in​

src/types/lib/index.ts:60


DeployAccountContractTransaction​

Ƭ DeployAccountContractTransaction: Omit<DeployAccountContractPayload, "contractAddress"> & { signature?: Signature }

Defined in​

src/types/lib/index.ts:67


DeclareContractPayload​

Ƭ DeclareContractPayload: Object

Type declaration​

NameType
contractCompiledContract | string
classHash?string
casm?CompiledSierraCasm
compiledClassHash?string

Defined in​

src/types/lib/index.ts:74


CompleteDeclareContractPayload​

Ƭ CompleteDeclareContractPayload: Object

Type declaration​

NameType
contractCompiledContract | string
classHashstring
casm?CompiledSierraCasm
compiledClassHash?string

Defined in​

src/types/lib/index.ts:81


DeclareAndDeployContractPayload​

Ƭ DeclareAndDeployContractPayload: Omit<UniversalDeployerContractPayload, "classHash"> & DeclareContractPayload

Defined in​

src/types/lib/index.ts:88


DeclareContractTransaction​

Ƭ DeclareContractTransaction: Object

Type declaration​

NameType
contractContractClass
senderAddressstring
signature?Signature
compiledClassHash?string

Defined in​

src/types/lib/index.ts:91


CallDetails​

Ƭ CallDetails: Object

Type declaration​

NameType
contractAddressstring
calldata?RawArgs | Calldata
entrypoint?string

Defined in​

src/types/lib/index.ts:98


Invocation​

Ƭ Invocation: CallDetails & { signature?: Signature }

Defined in​

src/types/lib/index.ts:104


Call​

Ƭ Call: CallDetails & { entrypoint: string }

Defined in​

src/types/lib/index.ts:106


CairoVersion​

Ƭ CairoVersion: "0" | "1" | undefined

Defined in​

src/types/lib/index.ts:108


CompilerVersion​

Ƭ CompilerVersion: "0" | "1" | "2" | undefined

Defined in​

src/types/lib/index.ts:109


InvocationsDetails​

Ƭ InvocationsDetails: Object

Type declaration​

NameType
nonce?BigNumberish
maxFee?BigNumberish
version?BigNumberish

Defined in​

src/types/lib/index.ts:111


Details​

Ƭ Details: Object

Contain all additional details params

Type declaration​

NameType
nonceBigNumberish
maxFeeBigNumberish
versionBigNumberish
chainIdStarknetChainId

Defined in​

src/types/lib/index.ts:120


InvocationsDetailsWithNonce​

Ƭ InvocationsDetailsWithNonce: InvocationsDetails & { nonce: BigNumberish }

Defined in​

src/types/lib/index.ts:127


BlockNumber​

Ƭ BlockNumber: BlockTag | null | number

Defined in​

src/types/lib/index.ts:176


BlockIdentifier​

Ƭ BlockIdentifier: BlockNumber | BigNumberish

hex string and BN are detected as block hashes decimal string and number are detected as block numbers null appends nothing to the request url

Defined in​

src/types/lib/index.ts:183


AccountInvocationItem​

Ƭ AccountInvocationItem: { type: DECLARE } & DeclareContractTransaction | { type: DEPLOY_ACCOUNT } & DeployAccountContractTransaction | { type: INVOKE } & Invocation & InvocationsDetailsWithNonce

items used by AccountInvocations

Defined in​

src/types/lib/index.ts:188


AccountInvocations​

Ƭ AccountInvocations: AccountInvocationItem[]

Complete invocations array with account details (internal type from account -> provider)

Defined in​

src/types/lib/index.ts:198


Invocations​

Ƭ Invocations: ({ type: DECLARE } & OptionalPayload<DeclareContractPayload> | { type: DEPLOY } & OptionalPayload<AllowArray<UniversalDeployerContractPayload>> | { type: DEPLOY_ACCOUNT } & OptionalPayload<DeployAccountContractPayload> | { type: INVOKE } & OptionalPayload<AllowArray<Call>>)[]

Invocations array user provide to bulk method (simulate)

Defined in​

src/types/lib/index.ts:203


Tupled​

Ƭ Tupled: Object

Type declaration​

NameType
elementany
typestring

Defined in​

src/types/lib/index.ts:212


Args​

Ƭ Args: Object

Index signature​

â–ª [inputName: string]: BigNumberish | BigNumberish[] | ParsedStruct | ParsedStruct[]

Defined in​

src/types/lib/index.ts:214


ParsedStruct​

Ƭ ParsedStruct: Object

Index signature​

â–ª [key: string]: BigNumberish | BigNumberish[] | ParsedStruct | Uint256

Defined in​

src/types/lib/index.ts:217


waitForTransactionOptions​

Ƭ waitForTransactionOptions: Object

Type declaration​

NameType
retryInterval?number
successStates?(TransactionFinalityStatus | TransactionExecutionStatus)[]
errorStates?(TransactionFinalityStatus | TransactionExecutionStatus)[]

Defined in​

src/types/lib/index.ts:221


getSimulateTransactionOptions​

Ƭ getSimulateTransactionOptions: Object

Type declaration​

NameType
blockIdentifier?BlockIdentifier
skipValidate?boolean
skipExecute?boolean
skipFeeCharge?boolean

Defined in​

src/types/lib/index.ts:227


getContractVersionOptions​

Ƭ getContractVersionOptions: Object

Type declaration​

NameType
blockIdentifier?BlockIdentifier
compiler?boolean

Defined in​

src/types/lib/index.ts:234


getEstimateFeeBulkOptions​

Ƭ getEstimateFeeBulkOptions: Object

Type declaration​

NameType
blockIdentifier?BlockIdentifier
skipValidate?boolean

Defined in​

src/types/lib/index.ts:239


ContractVersion​

Ƭ ContractVersion: Object

Represent Contract version

Type declaration​

NameTypeDescription
cairoCairoVersionversion of the cairo language
compilerCompilerVersionversion of the cairo compiler used to compile the contract

Defined in​

src/types/lib/index.ts:253


ContractClass​

Ƭ ContractClass: LegacyContractClass | SierraContractClass

format produced after compressing compiled contract CompressedCompiledContract

Defined in​

src/types/lib/contract/index.ts:9


CompiledContract​

Ƭ CompiledContract: LegacyCompiledContract | CompiledSierra

format produced after compile .cairo to .json

Defined in​

src/types/lib/contract/index.ts:14


CairoContract​

Ƭ CairoContract: ContractClass | CompiledContract

Compressed or decompressed Cairo0 or Cairo1 Contract

Defined in​

src/types/lib/contract/index.ts:19


Abi​

Ƭ Abi: (FunctionAbi | EventAbi | StructAbi | any)[]

ABI

Defined in​

src/types/lib/contract/abi.ts:2


AbiEntry​

Ƭ AbiEntry: Object

Type declaration​

NameType
namestring
type"felt" | "felt*" | string

Defined in​

src/types/lib/contract/abi.ts:5


EventEntry​

Ƭ EventEntry: Object

Type declaration​

NameType
namestring
type"felt" | "felt*" | string
kind"key" | "data"

Defined in​

src/types/lib/contract/abi.ts:7


FunctionAbi​

Ƭ FunctionAbi: Object

Type declaration​

NameType
inputsAbiEntry[]
namestring
outputsAbiEntry[]
stateMutability?"view"
state_mutability?string
typeFunctionAbiType

Defined in​

src/types/lib/contract/abi.ts:16


AbiStructs​

Ƭ AbiStructs: Object

Index signature​

â–ª [name: string]: StructAbi

Defined in​

src/types/lib/contract/abi.ts:25


StructAbi​

Ƭ StructAbi: Object

Type declaration​

NameType
membersAbiEntry & { offset: number }[]
namestring
sizenumber
type"struct"

Defined in​

src/types/lib/contract/abi.ts:27


AbiEnums​

Ƭ AbiEnums: Object

Index signature​

â–ª [name: string]: EnumAbi

Defined in​

src/types/lib/contract/abi.ts:34


EnumAbi​

Ƭ EnumAbi: Object

Type declaration​

NameType
variantsAbiEntry & { offset: number }[]
namestring
sizenumber
type"enum"

Defined in​

src/types/lib/contract/abi.ts:35


AbiEvents​

Ƭ AbiEvents: Object

Index signature​

â–ª [hash: string]: EventAbi

Defined in​

src/types/lib/contract/abi.ts:42


EventAbi​

Ƭ EventAbi: Cairo1Event | LegacyEvent

Defined in​

src/types/lib/contract/abi.ts:44


Cairo1Event​

Ƭ Cairo1Event: Object

Type declaration​

NameType
namestring
membersEventEntry[]
kind"struct"
type"event"

Defined in​

src/types/lib/contract/abi.ts:46


LegacyEvent​

Ƭ LegacyEvent: Object

Type declaration​

NameType
namestring
type"event"
dataEventEntry[]
keysEventEntry[]

Defined in​

src/types/lib/contract/abi.ts:53


LegacyContractClass​

Ƭ LegacyContractClass: Object

format produced after compressing 'program' property

Type declaration​

NameType
programCompressedProgram
entry_points_by_typeEntryPointsByType
abiAbi

Defined in​

src/types/lib/contract/legacy.ts:7


LegacyCompiledContract​

Ƭ LegacyCompiledContract: Omit<LegacyContractClass, "program"> & { program: Program }

format produced after compile .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​

NameType
CONSTRUCTORContractEntryPointFields[]
EXTERNALContractEntryPointFields[]
L1_HANDLERContractEntryPointFields[]

Defined in​

src/types/lib/contract/legacy.ts:24


ContractEntryPointFields​

Ƭ ContractEntryPointFields: Object

Type declaration​

NameType
selectorstring
offsetstring | number
builtins?Builtins

Defined in​

src/types/lib/contract/legacy.ts:30


CairoAssembly​

Ƭ CairoAssembly: Object

SYSTEM TYPES

Type declaration​

NameType
primestring
compiler_versionstring
bytecodeByteCode
hintsany[]
pythonic_hints?PythonicHints
entry_points_by_typeEntryPointsByType

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​

NameType
sierra_programByteCode
sierra_program_debug_info?SierraProgramDebugInfo
contract_class_versionstring
entry_points_by_typeSierraEntryPointsByType
abiAbi

Defined in​

src/types/lib/contract/sierra.ts:19


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:31


CompiledSierraCasm​

Ƭ CompiledSierraCasm: CairoAssembly

Defined in​

src/types/lib/contract/sierra.ts:35


ByteCode​

Ƭ ByteCode: string[]

SUBTYPES

Defined in​

src/types/lib/contract/sierra.ts:38


PythonicHints​

Ƭ PythonicHints: [number, string[]][]

Defined in​

src/types/lib/contract/sierra.ts:39


SierraProgramDebugInfo​

Ƭ SierraProgramDebugInfo: Object

Type declaration​

NameType
type_names[number, string][]
libfunc_names[number, string][]
user_func_names[number, string][]

Defined in​

src/types/lib/contract/sierra.ts:41


SierraEntryPointsByType​

Ƭ SierraEntryPointsByType: Object

Type declaration​

NameType
CONSTRUCTORSierraContractEntryPointFields[]
EXTERNALSierraContractEntryPointFields[]
L1_HANDLERSierraContractEntryPointFields[]

Defined in​

src/types/lib/contract/sierra.ts:47


SierraContractEntryPointFields​

Ƭ SierraContractEntryPointFields: Object

Type declaration​

NameType
selectorstring
function_idxnumber

Defined in​

src/types/lib/contract/sierra.ts:53


RpcProviderOptions​

Ƭ RpcProviderOptions: Object

Type declaration​

NameType
nodeUrl?string | NetworkName
retries?number
headers?object
blockIdentifier?BlockIdentifier
chainId?StarknetChainId
default?boolean

Defined in​

src/types/provider/configuration.ts:9


SequencerHttpMethod​

Ƭ SequencerHttpMethod: "POST" | "GET"

Defined in​

src/types/provider/configuration.ts:18


SequencerProviderOptions​

Ƭ SequencerProviderOptions: { headers?: Record<string, string> ; blockIdentifier?: BlockIdentifier ; chainId?: StarknetChainId } & { network: NetworkName | StarknetChainId } | { baseUrl: string ; feederGatewayUrl?: string ; gatewayUrl?: string }

Defined in​

src/types/provider/configuration.ts:20


GetTransactionResponse​

Ƭ GetTransactionResponse: InvokeTransactionResponse | DeclareTransactionResponse | RejectedTransactionResponse

Defined in​

src/types/provider/response.ts:52


RejectedTransactionResponse​

Ƭ RejectedTransactionResponse: Object

Type declaration​

NameType
status`${REJECTED}`
transaction_failure_reason{ code: string ; error_message: string }
transaction_failure_reason.codestring
transaction_failure_reason.error_messagestring

Defined in​

src/types/provider/response.ts:93


GetTransactionReceiptResponse​

Ƭ GetTransactionReceiptResponse: SuccessfulTransactionReceiptResponse | RevertedTransactionReceiptResponse | RejectedTransactionReceiptResponse

Defined in​

src/types/provider/response.ts:101


SuccessfulTransactionReceiptResponse​

Ƭ SuccessfulTransactionReceiptResponse: InvokeTransactionReceiptResponse | DeployTransactionReceiptResponse | DeclareTransactionReceiptResponse

Defined in​

src/types/provider/response.ts:106


DeclareTransactionReceiptResponse​

Ƭ DeclareTransactionReceiptResponse: Object

Type declaration​

NameType
type?TransactionType
execution_statusTransactionExecutionStatus
finality_statusTransactionFinalityStatus
status?`${TransactionStatus}`
actual_feestring
block_hashBlockHash
block_numberBlockNumber
transaction_hashstring
transaction_index?number
messages_sentMessageToL1[]
eventsany[]

Defined in​

src/types/provider/response.ts:126


DeployTransactionReceiptResponse​

Ƭ DeployTransactionReceiptResponse: InvokeTransactionReceiptResponse

Defined in​

src/types/provider/response.ts:140


RejectedTransactionReceiptResponse​

Ƭ RejectedTransactionReceiptResponse: Object

Type declaration​

NameType
status`${REJECTED}`
transaction_failure_reason{ code: string ; error_message: string }
transaction_failure_reason.codestring
transaction_failure_reason.error_messagestring

Defined in​

src/types/provider/response.ts:148


RevertedTransactionReceiptResponse​

Ƭ RevertedTransactionReceiptResponse: Object

Type declaration​

NameType
type?TransactionType | any
execution_statusREVERTED | any
finality_statusTransactionFinalityStatus | any
status?TransactionStatus
actual_feestring
block_hash?string
block_number?BlockNumber
transaction_hashstring
transaction_index?number
messages_sentMessageToL1[]
eventsany[]
revert_reason?string

Defined in​

src/types/provider/response.ts:156


CallContractResponse​

Ƭ CallContractResponse: Object

Type declaration​

NameType
resultstring[]

Defined in​

src/types/provider/response.ts:187


EstimateFeeAction​

Ƭ EstimateFeeAction: { type: INVOKE ; payload: AllowArray<Call> } | { type: DECLARE ; payload: DeclareContractPayload } | { type: DEPLOY_ACCOUNT ; payload: DeployAccountContractPayload } | { type: DEPLOY ; payload: UniversalDeployerContractPayload }

Defined in​

src/types/provider/response.ts:191


EstimateFeeResponseBulk​

Ƭ EstimateFeeResponseBulk: EstimateFeeResponse[]

Defined in​

src/types/provider/response.ts:209


Storage​

Ƭ Storage: Storage

Defined in​

src/types/provider/response.ts:211


Nonce​

Ƭ Nonce: Nonce

Defined in​

src/types/provider/response.ts:213


SimulationFlags​

Ƭ SimulationFlags: SimulationFlags

Defined in​

src/types/provider/response.ts:215


SimulatedTransaction​

Ƭ SimulatedTransaction: Object

Type declaration​

NameType
transaction_traceTransactionTrace | TransactionTraceResponse
fee_estimationFeeEstimate | EstimateFeeResponse
suggestedMaxFee?string | bigint

Defined in​

src/types/provider/response.ts:217


SimulateTransactionResponse​

Ƭ SimulateTransactionResponse: SimulatedTransaction[]

Defined in​

src/types/provider/response.ts:223


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:247


DeployAccountSignerDetails​

Ƭ DeployAccountSignerDetails: Required<DeployAccountContractPayload> & Required<InvocationsDetails> & { contractAddress: BigNumberish ; chainId: StarknetChainId }

Defined in​

src/types/signer.ts:25


StarkNetMerkleType​

Ƭ StarkNetMerkleType: Object

Type declaration​

NameType
namestring
type"merkletree"
containsstring

Defined in​

src/types/typedData.ts:1


StarkNetType​

Ƭ StarkNetType: { name: string ; type: string } | StarkNetMerkleType

A single type, as part of a struct. The type field can be any of the EIP-712 supported types.

Note that the uint and int aliases like in Solidity, and fixed point numbers are not supported by the EIP-712 standard.

Defined in​

src/types/typedData.ts:13


CairoEnum​

Ƭ CairoEnum: CairoCustomEnum | CairoOption<any> | CairoResult<any, any>

Defined in​

src/types/cairoEnum.ts:3