Namespace: SPEC
Type Aliases​
FELT​
Ƭ FELT: string
A field element. represented by at most 63 hex digits
Pattern
^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,62})$
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:8
ETH_ADDRESS​
Ƭ ETH_ADDRESS: string
an ethereum address represented as 40 hex digits
Pattern
^0x[a-fA-F0-9]{40}$
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:13
STORAGE_KEY​
Ƭ STORAGE_KEY: string
A storage key. Represented as up to 62 hex digits, 3 bits, and 5 leading zeroes.
Pattern
^0x(0|[0-7]{1}[a-fA-F0-9]{0,62}$)
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:18
ADDRESS​
Ƭ ADDRESS: FELT
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:19
NUM_AS_HEX​
Ƭ NUM_AS_HEX: string
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:20
u64​
Ƭ u64: string
64 bit integers, represented by hex string of length at most 16 "pattern": "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,15})$"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:25
u128​
Ƭ u128: string
64 bit integers, represented by hex string of length at most 32 "pattern": "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,31})$"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:30
SIGNATURE​
Ƭ SIGNATURE: FELT
[]
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:31
BLOCK_NUMBER​
Ƭ BLOCK_NUMBER: number
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:32
BLOCK_HASH​
Ƭ BLOCK_HASH: FELT
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:33
TXN_HASH​
Ƭ TXN_HASH: FELT
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:34
CHAIN_ID​
Ƭ CHAIN_ID: NUM_AS_HEX
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:35
STRUCT_ABI_TYPE​
Ƭ STRUCT_ABI_TYPE: "struct"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:36
EVENT_ABI_TYPE​
Ƭ EVENT_ABI_TYPE: "event"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:37
FUNCTION_ABI_TYPE​
Ƭ FUNCTION_ABI_TYPE: "function"
| "l1_handler"
| "constructor"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:38
ENTRY_POINT_TYPE​
Ƭ ENTRY_POINT_TYPE: "EXTERNAL"
| "L1_HANDLER"
| "CONSTRUCTOR"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:39
CALL_TYPE​
Ƭ CALL_TYPE: "DELEGATE"
| "LIBRARY_CALL"
| "CALL"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:40
TXN_STATUS​
Ƭ TXN_STATUS: "RECEIVED"
| "REJECTED"
| "ACCEPTED_ON_L2"
| "ACCEPTED_ON_L1"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:41
SIMULATION_FLAG​
Ƭ SIMULATION_FLAG: "SKIP_VALIDATE"
| "SKIP_FEE_CHARGE"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:42
DA_MODE​
Ƭ DA_MODE: "L1"
| "L2"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:43
TXN_TYPE​
Ƭ TXN_TYPE: "DECLARE"
| "DEPLOY"
| "DEPLOY_ACCOUNT"
| "INVOKE"
| "L1_HANDLER"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:44
TXN_FINALITY_STATUS​
Ƭ TXN_FINALITY_STATUS: "ACCEPTED_ON_L2"
| "ACCEPTED_ON_L1"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:45
TXN_EXECUTION_STATUS​
Ƭ TXN_EXECUTION_STATUS: "SUCCEEDED"
| "REVERTED"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:46
BLOCK_STATUS​
Ƭ BLOCK_STATUS: "PENDING"
| "ACCEPTED_ON_L2"
| "ACCEPTED_ON_L1"
| "REJECTED"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:47
BLOCK_TAG​
Ƭ BLOCK_TAG: "latest"
| "pending"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:48
EVENTS_CHUNK​
Ƭ EVENTS_CHUNK: Object
READ API
Type declaration​
Name | Type |
---|---|
events | EMITTED_EVENT [] |
continuation_token? | string |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:52
RESULT_PAGE_REQUEST​
Ƭ RESULT_PAGE_REQUEST: Object
Type declaration​
Name | Type |
---|---|
continuation_token? | string |
chunk_size | number |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:56
EMITTED_EVENT​
Ƭ EMITTED_EVENT: EVENT
& { block_hash
: BLOCK_HASH
; block_number
: BLOCK_NUMBER
; transaction_hash
: TXN_HASH
}
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:60
EVENT​
Ƭ EVENT: { from_address
: ADDRESS
} & EVENT_CONTENT
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:65
EVENT_CONTENT​
Ƭ EVENT_CONTENT: Object
Type declaration​
Name | Type |
---|---|
keys | FELT [] |
data | FELT [] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:68
EVENT_FILTER​
Ƭ EVENT_FILTER: Object
Type declaration​
Name | Type |
---|---|
from_block? | BLOCK_ID |
to_block? | BLOCK_ID |
address? | ADDRESS |
keys? | FELT [][] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:72
BLOCK_ID​
Ƭ BLOCK_ID: { block_hash?
: BLOCK_HASH
; block_number?
: BLOCK_NUMBER
} | BLOCK_TAG
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:78
SYNC_STATUS​
Ƭ SYNC_STATUS: Object
Type declaration​
Name | Type |
---|---|
starting_block_hash | BLOCK_HASH |
starting_block_num | BLOCK_NUMBER |
current_block_hash | BLOCK_HASH |
current_block_num | BLOCK_NUMBER |
highest_block_hash | BLOCK_HASH |
highest_block_num | BLOCK_NUMBER |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:82
NEW_CLASSES​
Ƭ NEW_CLASSES: Object
Type declaration​
Name | Type |
---|---|
class_hash | FELT |
compiled_class_hash | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:90
REPLACED_CLASS​
Ƭ REPLACED_CLASS: Object
Type declaration​
Name | Type |
---|---|
class_hash | FELT |
contract_address | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:94
NONCE_UPDATE​
Ƭ NONCE_UPDATE: Object
Type declaration​
Name | Type |
---|---|
contract_address | ADDRESS |
nonce | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:98
STATE_DIFF​
Ƭ STATE_DIFF: Object
Type declaration​
Name | Type |
---|---|
storage_diffs | CONTRACT_STORAGE_DIFF_ITEM [] |
deprecated_declared_classes | FELT [] |
declared_classes | NEW_CLASSES [] |
deployed_contracts | DEPLOYED_CONTRACT_ITEM [] |
replaced_classes | REPLACED_CLASS [] |
nonces | NONCE_UPDATE [] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:102
PENDING_STATE_UPDATE​
Ƭ PENDING_STATE_UPDATE: Object
Type declaration​
Name | Type |
---|---|
old_root | FELT |
state_diff | STATE_DIFF |
block_hash | never |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:110
STATE_UPDATE​
Ƭ STATE_UPDATE: Object
Type declaration​
Name | Type |
---|---|
block_hash | BLOCK_HASH |
old_root | FELT |
new_root | FELT |
state_diff | STATE_DIFF |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:115
BLOCK_BODY_WITH_TX_HASHES​
Ƭ BLOCK_BODY_WITH_TX_HASHES: Object
Type declaration​
Name | Type |
---|---|
transactions | TXN_HASH [] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:121
BLOCK_BODY_WITH_TXS​
Ƭ BLOCK_BODY_WITH_TXS: Object
Type declaration​
Name | Type |
---|---|
transactions | TXN & { transaction_hash : TXN_HASH }[] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:124
BLOCK_BODY_WITH_RECEIPTS​
Ƭ BLOCK_BODY_WITH_RECEIPTS: Object
Type declaration​
Name | Type |
---|---|
transactions | { transaction : TXN ; receipt : TXN_RECEIPT }[] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:129
BLOCK_HEADER​
Ƭ BLOCK_HEADER: Object
Type declaration​
Name | Type |
---|---|
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 |
l1_data_gas_price | RESOURCE_PRICE |
l1_da_mode | "BLOB" | "CALLDATA" |
starknet_version | string |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:135
PENDING_BLOCK_HEADER​
Ƭ PENDING_BLOCK_HEADER: Object
Type declaration​
Name | Type |
---|---|
parent_hash | BLOCK_HASH |
timestamp | number |
sequencer_address | FELT |
l1_gas_price | RESOURCE_PRICE |
l1_data_gas_price | RESOURCE_PRICE |
l1_da_mode | "BLOB" | "CALLDATA" |
starknet_version | string |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:147
BLOCK_WITH_TX_HASHES​
Ƭ BLOCK_WITH_TX_HASHES: { status
: BLOCK_STATUS
} & BLOCK_HEADER
& BLOCK_BODY_WITH_TX_HASHES
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:156
BLOCK_WITH_TXS​
Ƭ BLOCK_WITH_TXS: { status
: BLOCK_STATUS
} & BLOCK_HEADER
& BLOCK_BODY_WITH_TXS
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:159
BLOCK_WITH_RECEIPTS​
Ƭ BLOCK_WITH_RECEIPTS: { status
: BLOCK_STATUS
} & BLOCK_HEADER
& BLOCK_BODY_WITH_RECEIPTS
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:162
PENDING_BLOCK_WITH_TX_HASHES​
Ƭ PENDING_BLOCK_WITH_TX_HASHES: BLOCK_BODY_WITH_TX_HASHES
& PENDING_BLOCK_HEADER
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:165
PENDING_BLOCK_WITH_TXS​
Ƭ PENDING_BLOCK_WITH_TXS: BLOCK_BODY_WITH_TXS
& PENDING_BLOCK_HEADER
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:166
PENDING_BLOCK_WITH_RECEIPTS​
Ƭ PENDING_BLOCK_WITH_RECEIPTS: BLOCK_BODY_WITH_RECEIPTS
& PENDING_BLOCK_HEADER
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:167
DEPLOYED_CONTRACT_ITEM​
Ƭ DEPLOYED_CONTRACT_ITEM: Object
Type declaration​
Name | Type |
---|---|
address | FELT |
class_hash | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:168
CONTRACT_STORAGE_DIFF_ITEM​
Ƭ CONTRACT_STORAGE_DIFF_ITEM: Object
Type declaration​
Name | Type |
---|---|
address | string |
storage_entries | StorageDiffItem [] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:172
StorageDiffItem​
Ƭ StorageDiffItem: Object
Type declaration​
Name | Type |
---|---|
key | string |
value | string |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:176
TXN​
Ƭ TXN: INVOKE_TXN
| L1_HANDLER_TXN
| DECLARE_TXN
| DEPLOY_TXN
| DEPLOY_ACCOUNT_TXN
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:180
DECLARE_TXN​
Ƭ DECLARE_TXN: DECLARE_TXN_V0
| DECLARE_TXN_V1
| DECLARE_TXN_V2
| DECLARE_TXN_V3
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:181
DECLARE_TXN_V0​
Ƭ DECLARE_TXN_V0: Object
Type declaration​
Name | Type |
---|---|
type | "DECLARE" |
sender_address | ADDRESS |
max_fee | FELT |
version | "0x0" | "0x100000000000000000000000000000000" |
signature | SIGNATURE |
class_hash | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:182
DECLARE_TXN_V1​
Ƭ DECLARE_TXN_V1: Object
Type declaration​
Name | Type |
---|---|
type | "DECLARE" |
sender_address | ADDRESS |
max_fee | FELT |
version | "0x1" | "0x100000000000000000000000000000001" |
signature | SIGNATURE |
nonce | FELT |
class_hash | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:190
DECLARE_TXN_V2​
Ƭ DECLARE_TXN_V2: Object
Type declaration​
Name | Type |
---|---|
type | "DECLARE" |
sender_address | ADDRESS |
compiled_class_hash | FELT |
max_fee | FELT |
version | "0x2" | "0x100000000000000000000000000000002" |
signature | SIGNATURE |
nonce | FELT |
class_hash | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:199
DECLARE_TXN_V3​
Ƭ DECLARE_TXN_V3: Object
Type declaration​
Name | Type |
---|---|
type | "DECLARE" |
sender_address | ADDRESS |
compiled_class_hash | FELT |
version | "0x3" | "0x100000000000000000000000000000003" |
signature | SIGNATURE |
nonce | FELT |
class_hash | FELT |
resource_bounds | RESOURCE_BOUNDS_MAPPING |
tip | u64 |
paymaster_data | FELT [] |
account_deployment_data | FELT [] |
nonce_data_availability_mode | DA_MODE |
fee_data_availability_mode | DA_MODE |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:209
BROADCASTED_TXN​
Ƭ BROADCASTED_TXN: BROADCASTED_INVOKE_TXN
| BROADCASTED_DECLARE_TXN
| BROADCASTED_DEPLOY_ACCOUNT_TXN
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:224
BROADCASTED_INVOKE_TXN​
Ƭ BROADCASTED_INVOKE_TXN: INVOKE_TXN
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:225
BROADCASTED_DEPLOY_ACCOUNT_TXN​
Ƭ BROADCASTED_DEPLOY_ACCOUNT_TXN: DEPLOY_ACCOUNT_TXN
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:226
BROADCASTED_DECLARE_TXN​
Ƭ BROADCASTED_DECLARE_TXN: BROADCASTED_DECLARE_TXN_V1
| BROADCASTED_DECLARE_TXN_V2
| BROADCASTED_DECLARE_TXN_V3
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:227
BROADCASTED_DECLARE_TXN_V1​
Ƭ BROADCASTED_DECLARE_TXN_V1: Object
Type declaration​
Name | Type |
---|---|
type | "DECLARE" |
sender_address | ADDRESS |
max_fee | FELT |
version | "0x1" | "0x100000000000000000000000000000001" |
signature | SIGNATURE |
nonce | FELT |
contract_class | DEPRECATED_CONTRACT_CLASS |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:228
BROADCASTED_DECLARE_TXN_V2​
Ƭ BROADCASTED_DECLARE_TXN_V2: Object
Type declaration​
Name | Type |
---|---|
type | "DECLARE" |
sender_address | ADDRESS |
compiled_class_hash | FELT |
max_fee | FELT |
version | "0x2" | "0x100000000000000000000000000000002" |
signature | SIGNATURE |
nonce | FELT |
contract_class | CONTRACT_CLASS |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:237
BROADCASTED_DECLARE_TXN_V3​
Ƭ BROADCASTED_DECLARE_TXN_V3: Object
Type declaration​
Name | Type |
---|---|
type | "DECLARE" |
sender_address | ADDRESS |
compiled_class_hash | FELT |
version | "0x3" | "0x100000000000000000000000000000003" |
signature | SIGNATURE |
nonce | FELT |
contract_class | CONTRACT_CLASS |
resource_bounds | RESOURCE_BOUNDS_MAPPING |
tip | u64 |
paymaster_data | FELT [] |
account_deployment_data | FELT [] |
nonce_data_availability_mode | DA_MODE |
fee_data_availability_mode | DA_MODE |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:247
DEPLOY_ACCOUNT_TXN​
Ƭ DEPLOY_ACCOUNT_TXN: DEPLOY_ACCOUNT_TXN_V1
| DEPLOY_ACCOUNT_TXN_V3
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:262
DEPLOY_ACCOUNT_TXN_V1​
Ƭ DEPLOY_ACCOUNT_TXN_V1: Object
Type declaration​
Name | Type |
---|---|
type | "DEPLOY_ACCOUNT" |
max_fee | FELT |
version | "0x1" | "0x100000000000000000000000000000001" |
signature | SIGNATURE |
nonce | FELT |
contract_address_salt | FELT |
constructor_calldata | FELT [] |
class_hash | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:263
DEPLOY_ACCOUNT_TXN_V3​
Ƭ DEPLOY_ACCOUNT_TXN_V3: Object
Type declaration​
Name | Type |
---|---|
type | "DEPLOY_ACCOUNT" |
version | "0x3" | "0x100000000000000000000000000000003" |
signature | SIGNATURE |
nonce | FELT |
contract_address_salt | FELT |
constructor_calldata | FELT [] |
class_hash | FELT |
resource_bounds | RESOURCE_BOUNDS_MAPPING |
tip | u64 |
paymaster_data | FELT [] |
nonce_data_availability_mode | DA_MODE |
fee_data_availability_mode | DA_MODE |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:273
DEPLOY_TXN​
Ƭ DEPLOY_TXN: Object
Type declaration​
Name | Type |
---|---|
type | "DEPLOY" |
version | FELT |
contract_address_salt | FELT |
constructor_calldata | FELT [] |
class_hash | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:287
INVOKE_TXN​
Ƭ INVOKE_TXN: INVOKE_TXN_V0
| INVOKE_TXN_V1
| INVOKE_TXN_V3
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:294
INVOKE_TXN_V0​
Ƭ INVOKE_TXN_V0: Object
Type declaration​
Name | Type |
---|---|
type | "INVOKE" |
max_fee | FELT |
version | "0x0" | "0x100000000000000000000000000000000" |
signature | SIGNATURE |
contract_address | ADDRESS |
entry_point_selector | FELT |
calldata | FELT [] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:295
INVOKE_TXN_V1​
Ƭ INVOKE_TXN_V1: Object
Type declaration​
Name | Type |
---|---|
type | "INVOKE" |
sender_address | ADDRESS |
calldata | FELT [] |
max_fee | FELT |
version | "0x1" | "0x100000000000000000000000000000001" |
signature | SIGNATURE |
nonce | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:304
INVOKE_TXN_V3​
Ƭ INVOKE_TXN_V3: Object
Type declaration​
Name | Type |
---|---|
type | "INVOKE" |
sender_address | ADDRESS |
calldata | FELT [] |
version | "0x3" | "0x100000000000000000000000000000003" |
signature | SIGNATURE |
nonce | FELT |
resource_bounds | RESOURCE_BOUNDS_MAPPING |
tip | u64 |
paymaster_data | FELT [] |
account_deployment_data | FELT [] |
nonce_data_availability_mode | DA_MODE |
fee_data_availability_mode | DA_MODE |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:313
L1_HANDLER_TXN​
Ƭ L1_HANDLER_TXN: { version
: "0x0"
; type
: "L1_HANDLER"
; nonce
: NUM_AS_HEX
} & FUNCTION_CALL
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:327
COMMON_RECEIPT_PROPERTIES​
Ƭ COMMON_RECEIPT_PROPERTIES: { transaction_hash
: TXN_HASH
; actual_fee
: FEE_PAYMENT
; finality_status
: TXN_FINALITY_STATUS
; messages_sent
: MSG_TO_L1
[] ; events
: EVENT
[] ; execution_resources
: EXECUTION_RESOURCES
} & SUCCESSFUL_COMMON_RECEIPT_PROPERTIES
| REVERTED_COMMON_RECEIPT_PROPERTIES
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:332
INVOKE_TXN_RECEIPT​
Ƭ INVOKE_TXN_RECEIPT: { type
: "INVOKE"
} & COMMON_RECEIPT_PROPERTIES
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:347
DECLARE_TXN_RECEIPT​
Ƭ DECLARE_TXN_RECEIPT: { type
: "DECLARE"
} & COMMON_RECEIPT_PROPERTIES
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:350
DEPLOY_ACCOUNT_TXN_RECEIPT​
Ƭ DEPLOY_ACCOUNT_TXN_RECEIPT: { type
: "DEPLOY_ACCOUNT"
; contract_address
: FELT
} & COMMON_RECEIPT_PROPERTIES
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:353
DEPLOY_TXN_RECEIPT​
Ƭ DEPLOY_TXN_RECEIPT: { type
: "DEPLOY"
; contract_address
: FELT
} & COMMON_RECEIPT_PROPERTIES
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:357
L1_HANDLER_TXN_RECEIPT​
Ƭ L1_HANDLER_TXN_RECEIPT: { type
: "L1_HANDLER"
; message_hash
: NUM_AS_HEX
} & COMMON_RECEIPT_PROPERTIES
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:361
TXN_RECEIPT​
Ƭ TXN_RECEIPT: INVOKE_TXN_RECEIPT
| L1_HANDLER_TXN_RECEIPT
| DECLARE_TXN_RECEIPT
| DEPLOY_TXN_RECEIPT
| DEPLOY_ACCOUNT_TXN_RECEIPT
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:365
TXN_RECEIPT_WITH_BLOCK_INFO​
Ƭ TXN_RECEIPT_WITH_BLOCK_INFO: TXN_RECEIPT
& { block_hash?
: BLOCK_HASH
; block_number?
: BLOCK_NUMBER
}
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:366
MSG_TO_L1​
Ƭ MSG_TO_L1: Object
Type declaration​
Name | Type |
---|---|
from_address | FELT |
to_address | FELT |
payload | FELT [] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:370
MSG_FROM_L1​
Ƭ MSG_FROM_L1: Object
Type declaration​
Name | Type |
---|---|
from_address | ETH_ADDRESS |
to_address | ADDRESS |
entry_point_selector | FELT |
payload | FELT [] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:375
FUNCTION_CALL​
Ƭ FUNCTION_CALL: Object
Type declaration​
Name | Type |
---|---|
contract_address | ADDRESS |
entry_point_selector | FELT |
calldata | FELT [] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:381
CONTRACT_CLASS​
Ƭ CONTRACT_CLASS: Object
Type declaration​
Name | Type |
---|---|
sierra_program | FELT [] |
contract_class_version | string |
entry_points_by_type | { CONSTRUCTOR : SIERRA_ENTRY_POINT [] ; EXTERNAL : SIERRA_ENTRY_POINT [] ; L1_HANDLER : SIERRA_ENTRY_POINT [] } |
entry_points_by_type.CONSTRUCTOR | SIERRA_ENTRY_POINT [] |
entry_points_by_type.EXTERNAL | SIERRA_ENTRY_POINT [] |
entry_points_by_type.L1_HANDLER | SIERRA_ENTRY_POINT [] |
abi | string |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:386
DEPRECATED_CONTRACT_CLASS​
Ƭ DEPRECATED_CONTRACT_CLASS: Object
Type declaration​
Name | Type |
---|---|
program | string |
entry_points_by_type | { CONSTRUCTOR : DEPRECATED_CAIRO_ENTRY_POINT [] ; EXTERNAL : DEPRECATED_CAIRO_ENTRY_POINT [] ; L1_HANDLER : DEPRECATED_CAIRO_ENTRY_POINT [] } |
entry_points_by_type.CONSTRUCTOR | DEPRECATED_CAIRO_ENTRY_POINT [] |
entry_points_by_type.EXTERNAL | DEPRECATED_CAIRO_ENTRY_POINT [] |
entry_points_by_type.L1_HANDLER | DEPRECATED_CAIRO_ENTRY_POINT [] |
abi | CONTRACT_ABI |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:396
DEPRECATED_CAIRO_ENTRY_POINT​
Ƭ DEPRECATED_CAIRO_ENTRY_POINT: Object
Type declaration​
Name | Type |
---|---|
offset | NUM_AS_HEX | number |
selector | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:405
SIERRA_ENTRY_POINT​
Ƭ SIERRA_ENTRY_POINT: Object
Type declaration​
Name | Type |
---|---|
selector | FELT |
function_idx | number |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:409
CONTRACT_ABI​
Ƭ CONTRACT_ABI: readonly CONTRACT_ABI_ENTRY
[]
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:413
CONTRACT_ABI_ENTRY​
Ƭ CONTRACT_ABI_ENTRY: Object
Type declaration​
Name | Type |
---|---|
selector | FELT |
input | string |
output | string |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:414
STRUCT_ABI_ENTRY​
Ƭ STRUCT_ABI_ENTRY: Object
Type declaration​
Name | Type |
---|---|
type | STRUCT_ABI_TYPE |
name | string |
size | number |
members | STRUCT_MEMBER [] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:419
STRUCT_MEMBER​
Ƭ STRUCT_MEMBER: TYPED_PARAMETER
& { offset
: number
}
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:425
EVENT_ABI_ENTRY​
Ƭ EVENT_ABI_ENTRY: Object
Type declaration​
Name | Type |
---|---|
type | EVENT_ABI_TYPE |
name | string |
keys | TYPED_PARAMETER [] |
data | TYPED_PARAMETER [] |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:428
FUNCTION_STATE_MUTABILITY​
Ƭ FUNCTION_STATE_MUTABILITY: "view"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:434
FUNCTION_ABI_ENTRY​
Ƭ FUNCTION_ABI_ENTRY: Object
Type declaration​
Name | Type |
---|---|
type | FUNCTION_ABI_TYPE |
name | string |
inputs | TYPED_PARAMETER [] |
outputs | TYPED_PARAMETER [] |
stateMutability | FUNCTION_STATE_MUTABILITY |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:435
TYPED_PARAMETER​
Ƭ TYPED_PARAMETER: Object
Type declaration​
Name | Type |
---|---|
name | string |
type | string |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:442
SIMULATION_FLAG_FOR_ESTIMATE_FEE​
Ƭ SIMULATION_FLAG_FOR_ESTIMATE_FEE: "SKIP_VALIDATE"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:446
PRICE_UNIT​
Ƭ PRICE_UNIT: "WEI"
| "FRI"
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:447
FEE_ESTIMATE​
Ƭ FEE_ESTIMATE: Object
Type declaration​
Name | Type |
---|---|
gas_consumed | FELT |
gas_price | FELT |
data_gas_consumed | FELT |
data_gas_price | FELT |
overall_fee | FELT |
unit | PRICE_UNIT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:448
FEE_PAYMENT​
Ƭ FEE_PAYMENT: Object
Type declaration​
Name | Type |
---|---|
amount | FELT |
unit | PRICE_UNIT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:456
RESOURCE_BOUNDS_MAPPING​
Ƭ RESOURCE_BOUNDS_MAPPING: Object
Type declaration​
Name | Type |
---|---|
l1_gas | RESOURCE_BOUNDS |
l2_gas | RESOURCE_BOUNDS |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:460
RESOURCE_BOUNDS​
Ƭ RESOURCE_BOUNDS: Object
Type declaration​
Name | Type |
---|---|
max_amount | u64 |
max_price_per_unit | u128 |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:464
RESOURCE_PRICE​
Ƭ RESOURCE_PRICE: Object
Type declaration​
Name | Type |
---|---|
price_in_fri | FELT |
price_in_wei | FELT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:468
COMPUTATION_RESOURCES​
Ƭ COMPUTATION_RESOURCES: Object
Type declaration​
Name | Type |
---|---|
steps | number |
memory_holes? | number |
range_check_builtin_applications? | number |
pedersen_builtin_applications? | number |
poseidon_builtin_applications? | number |
ec_op_builtin_applications? | number |
ecdsa_builtin_applications? | number |
bitwise_builtin_applications? | number |
keccak_builtin_applications? | number |
segment_arena_builtin? | number |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:472
EXECUTION_RESOURCES​
Ƭ EXECUTION_RESOURCES: COMPUTATION_RESOURCES
& { data_availability
: { l1_gas
: number
; l1_data_gas
: number
} }
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:484
TRANSACTION_TRACE​
Ƭ TRANSACTION_TRACE: Object
TRACE API
Type declaration​
Name | Type |
---|---|
invoke_tx_trace? | INVOKE_TXN_TRACE |
declare_tx_trace? | DECLARE_TXN_TRACE |
deploy_account_tx_trace? | DEPLOY_ACCOUNT_TXN_TRACE |
l1_handler_tx_trace? | L1_HANDLER_TXN_TRACE |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:493
INVOKE_TXN_TRACE​
Ƭ INVOKE_TXN_TRACE: Object
Type declaration​
Name | Type |
---|---|
type | "INVOKE" |
execute_invocation | FUNCTION_INVOCATION | { revert_reason : string } |
validate_invocation? | FUNCTION_INVOCATION |
fee_transfer_invocation? | FUNCTION_INVOCATION |
state_diff? | STATE_DIFF |
execution_resources | EXECUTION_RESOURCES |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:499
DECLARE_TXN_TRACE​
Ƭ DECLARE_TXN_TRACE: Object
Type declaration​
Name | Type |
---|---|
type | "DECLARE" |
validate_invocation? | FUNCTION_INVOCATION |
fee_transfer_invocation? | FUNCTION_INVOCATION |
state_diff? | STATE_DIFF |
execution_resources | EXECUTION_RESOURCES |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:509
DEPLOY_ACCOUNT_TXN_TRACE​
Ƭ DEPLOY_ACCOUNT_TXN_TRACE: Object
Type declaration​
Name | Type |
---|---|
type | "DEPLOY_ACCOUNT" |
constructor_invocation | FUNCTION_INVOCATION |
validate_invocation? | FUNCTION_INVOCATION |
fee_transfer_invocation? | FUNCTION_INVOCATION |
state_diff? | STATE_DIFF |
execution_resources | EXECUTION_RESOURCES |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:516
L1_HANDLER_TXN_TRACE​
Ƭ L1_HANDLER_TXN_TRACE: Object
Type declaration​
Name | Type |
---|---|
type | "L1_HANDLER" |
function_invocation | FUNCTION_INVOCATION |
state_diff? | STATE_DIFF |
execution_resources | EXECUTION_RESOURCES |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:524
NESTED_CALL​
Ƭ NESTED_CALL: FUNCTION_INVOCATION
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:530
FUNCTION_INVOCATION​
Ƭ FUNCTION_INVOCATION: FUNCTION_CALL
& { caller_address
: string
; class_hash
: string
; entry_point_type
: ENTRY_POINT_TYPE
; call_type
: CALL_TYPE
; result
: string
[] ; calls
: NESTED_CALL
[] ; events
: ORDERED_EVENT
[] ; messages
: ORDERED_MESSAGE
[] ; execution_resources
: COMPUTATION_RESOURCES
}
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:531
ORDERED_EVENT​
Ƭ ORDERED_EVENT: Object
Type declaration​
Name | Type |
---|---|
order | number |
event | EVENT |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:542
ORDERED_MESSAGE​
Ƭ ORDERED_MESSAGE: Object
Type declaration​
Name | Type |
---|---|
order | number |
message | MSG_TO_L1 |
Defined in​
node_modules/starknet-types-07/dist/types/api/components.d.ts:546