Skip to main content
Version: 6.11.0

Namespace: SPEC

RPC.RPCSPEC06.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​

src/types/api/rpcspec_0_6/components.ts:9


ETH_ADDRESS​

Ƭ ETH_ADDRESS: string

an ethereum address represented as 40 hex digits

Pattern

^0x[a-fA-F0-9]{40}$

Defined in​

src/types/api/rpcspec_0_6/components.ts:14


STORAGE_KEY​

Ƭ STORAGE_KEY: string

A storage key. Represented as up to 62 hex digits, 3 bits, and 5 leading zeroes.

Pattern

^0x0[0-7]{1}[a-fA-F0-9]{0,62}$

Defined in​

src/types/api/rpcspec_0_6/components.ts:19


ADDRESS​

Ƭ ADDRESS: FELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:20


NUM_AS_HEX​

Ƭ NUM_AS_HEX: string

Defined in​

src/types/api/rpcspec_0_6/components.ts:21


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​

src/types/api/rpcspec_0_6/components.ts:26


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​

src/types/api/rpcspec_0_6/components.ts:31


SIGNATURE​

Ƭ SIGNATURE: FELT[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:32


BLOCK_NUMBER​

Ƭ BLOCK_NUMBER: number

Defined in​

src/types/api/rpcspec_0_6/components.ts:33


BLOCK_HASH​

Ƭ BLOCK_HASH: FELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:34


TXN_HASH​

Ƭ TXN_HASH: FELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:35


CHAIN_ID​

Ƭ CHAIN_ID: NUM_AS_HEX

Defined in​

src/types/api/rpcspec_0_6/components.ts:36


STRUCT_ABI_TYPE​

Ƭ STRUCT_ABI_TYPE: "struct"

Defined in​

src/types/api/rpcspec_0_6/components.ts:37


EVENT_ABI_TYPE​

Ƭ EVENT_ABI_TYPE: "event"

Defined in​

src/types/api/rpcspec_0_6/components.ts:38


FUNCTION_ABI_TYPE​

Ƭ FUNCTION_ABI_TYPE: "function" | "l1_handler" | "constructor"

Defined in​

src/types/api/rpcspec_0_6/components.ts:39


ENTRY_POINT_TYPE​

Ƭ ENTRY_POINT_TYPE: "EXTERNAL" | "L1_HANDLER" | "CONSTRUCTOR"

Defined in​

src/types/api/rpcspec_0_6/components.ts:41


CALL_TYPE​

Ƭ CALL_TYPE: "DELEGATE" | "LIBRARY_CALL" | "CALL"

Defined in​

src/types/api/rpcspec_0_6/components.ts:43


TXN_STATUS​

Ƭ TXN_STATUS: "RECEIVED" | "REJECTED" | "ACCEPTED_ON_L2" | "ACCEPTED_ON_L1"

Defined in​

src/types/api/rpcspec_0_6/components.ts:45


SIMULATION_FLAG​

Ƭ SIMULATION_FLAG: "SKIP_VALIDATE" | "SKIP_FEE_CHARGE"

Defined in​

src/types/api/rpcspec_0_6/components.ts:47


DA_MODE​

Ƭ DA_MODE: "L1" | "L2"

Defined in​

src/types/api/rpcspec_0_6/components.ts:49


TXN_TYPE​

Ƭ TXN_TYPE: "DECLARE" | "DEPLOY" | "DEPLOY_ACCOUNT" | "INVOKE" | "L1_HANDLER"

Defined in​

src/types/api/rpcspec_0_6/components.ts:50


TXN_FINALITY_STATUS​

Ƭ TXN_FINALITY_STATUS: "ACCEPTED_ON_L2" | "ACCEPTED_ON_L1"

Defined in​

src/types/api/rpcspec_0_6/components.ts:51


TXN_EXECUTION_STATUS​

Ƭ TXN_EXECUTION_STATUS: "SUCCEEDED" | "REVERTED"

Defined in​

src/types/api/rpcspec_0_6/components.ts:52


BLOCK_STATUS​

Ƭ BLOCK_STATUS: "PENDING" | "ACCEPTED_ON_L2" | "ACCEPTED_ON_L1" | "REJECTED"

Defined in​

src/types/api/rpcspec_0_6/components.ts:53


BLOCK_TAG​

Ƭ BLOCK_TAG: "latest" | "pending"

Defined in​

src/types/api/rpcspec_0_6/components.ts:54


EVENTS_CHUNK​

Ƭ EVENTS_CHUNK: Object

READ API

Type declaration​

NameType
eventsEMITTED_EVENT[]
continuation_token?string

Defined in​

src/types/api/rpcspec_0_6/components.ts:60


RESULT_PAGE_REQUEST​

Ƭ RESULT_PAGE_REQUEST: Object

Type declaration​

NameType
continuation_token?string
chunk_sizenumber

Defined in​

src/types/api/rpcspec_0_6/components.ts:67


EMITTED_EVENT​

Ƭ EMITTED_EVENT: EVENT & { block_hash: BLOCK_HASH ; block_number: BLOCK_NUMBER ; transaction_hash: TXN_HASH }

Defined in​

src/types/api/rpcspec_0_6/components.ts:74


EVENT​

Ƭ EVENT: { from_address: ADDRESS } & EVENT_CONTENT

Defined in​

src/types/api/rpcspec_0_6/components.ts:80


EVENT_CONTENT​

Ƭ EVENT_CONTENT: Object

Type declaration​

NameType
keysFELT[]
dataFELT[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:84


EVENT_FILTER​

Ƭ EVENT_FILTER: Object

Type declaration​

NameType
from_block?BLOCK_ID
to_block?BLOCK_ID
address?ADDRESS
keys?FELT[][]

Defined in​

src/types/api/rpcspec_0_6/components.ts:89


BLOCK_ID​

Ƭ BLOCK_ID: { block_hash?: BLOCK_HASH ; block_number?: BLOCK_NUMBER } | BLOCK_TAG

Defined in​

src/types/api/rpcspec_0_6/components.ts:96


SYNC_STATUS​

Ƭ SYNC_STATUS: Object

Type declaration​

NameType
starting_block_hashBLOCK_HASH
starting_block_numBLOCK_NUMBER
current_block_hashBLOCK_HASH
current_block_numBLOCK_NUMBER
highest_block_hashBLOCK_HASH
highest_block_numBLOCK_NUMBER

Defined in​

src/types/api/rpcspec_0_6/components.ts:103


NEW_CLASSES​

Ƭ NEW_CLASSES: Object

Type declaration​

NameType
class_hashFELT
compiled_class_hashFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:112


REPLACED_CLASS​

Ƭ REPLACED_CLASS: Object

Type declaration​

NameType
class_hashFELT
contract_addressFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:117


NONCE_UPDATE​

Ƭ NONCE_UPDATE: Object

Type declaration​

NameType
contract_addressADDRESS
nonceFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:122


STATE_DIFF​

Ƭ STATE_DIFF: Object

Type declaration​

NameType
storage_diffsCONTRACT_STORAGE_DIFF_ITEM[]
deprecated_declared_classesFELT[]
declared_classesNEW_CLASSES[]
deployed_contractsDEPLOYED_CONTRACT_ITEM[]
replaced_classesREPLACED_CLASS[]
noncesNONCE_UPDATE[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:127


PENDING_STATE_UPDATE​

Ƭ PENDING_STATE_UPDATE: Object

Type declaration​

NameType
old_rootFELT
state_diffSTATE_DIFF
block_hashnever

Defined in​

src/types/api/rpcspec_0_6/components.ts:136


STATE_UPDATE​

Ƭ STATE_UPDATE: Object

Type declaration​

NameType
block_hashBLOCK_HASH
old_rootFELT
new_rootFELT
state_diffSTATE_DIFF

Defined in​

src/types/api/rpcspec_0_6/components.ts:142


BLOCK_BODY_WITH_TX_HASHES​

Ƭ BLOCK_BODY_WITH_TX_HASHES: Object

Type declaration​

NameType
transactionsTXN_HASH[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:149


BLOCK_BODY_WITH_TXS​

Ƭ BLOCK_BODY_WITH_TXS: Object

Type declaration​

NameType
transactionsTXN & { transaction_hash: TXN_HASH }[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:153


BLOCK_HEADER​

Ƭ BLOCK_HEADER: Object

Type declaration​

NameType
block_hashBLOCK_HASH
parent_hashBLOCK_HASH
block_numberBLOCK_NUMBER
new_rootFELT
timestampnumber
sequencer_addressFELT
l1_gas_priceRESOURCE_PRICE
starknet_versionstring

Defined in​

src/types/api/rpcspec_0_6/components.ts:159


PENDING_BLOCK_HEADER​

Ƭ PENDING_BLOCK_HEADER: Object

Type declaration​

NameType
parent_hashBLOCK_HASH
timestampnumber
sequencer_addressFELT
l1_gas_priceRESOURCE_PRICE
starknet_versionstring

Defined in​

src/types/api/rpcspec_0_6/components.ts:170


BLOCK_WITH_TX_HASHES​

Ƭ BLOCK_WITH_TX_HASHES: { status: BLOCK_STATUS } & BLOCK_HEADER & BLOCK_BODY_WITH_TX_HASHES

Defined in​

src/types/api/rpcspec_0_6/components.ts:178


BLOCK_WITH_TXS​

Ƭ BLOCK_WITH_TXS: { status: BLOCK_STATUS } & BLOCK_HEADER & BLOCK_BODY_WITH_TXS

Defined in​

src/types/api/rpcspec_0_6/components.ts:181


PENDING_BLOCK_WITH_TX_HASHES​

Ƭ PENDING_BLOCK_WITH_TX_HASHES: BLOCK_BODY_WITH_TX_HASHES & PENDING_BLOCK_HEADER

Defined in​

src/types/api/rpcspec_0_6/components.ts:183


PENDING_BLOCK_WITH_TXS​

Ƭ PENDING_BLOCK_WITH_TXS: BLOCK_BODY_WITH_TXS & PENDING_BLOCK_HEADER

Defined in​

src/types/api/rpcspec_0_6/components.ts:185


DEPLOYED_CONTRACT_ITEM​

Ƭ DEPLOYED_CONTRACT_ITEM: Object

Type declaration​

NameType
addressFELT
class_hashFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:187


CONTRACT_STORAGE_DIFF_ITEM​

Ƭ CONTRACT_STORAGE_DIFF_ITEM: Object

Type declaration​

NameType
addressstring
storage_entriesStorageDiffItem[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:192


StorageDiffItem​

Ƭ StorageDiffItem: Object

Type declaration​

NameType
keystring
valuestring

Defined in​

src/types/api/rpcspec_0_6/components.ts:199


TXN​

Ƭ TXN: INVOKE_TXN | L1_HANDLER_TXN | DECLARE_TXN | DEPLOY_TXN | DEPLOY_ACCOUNT_TXN

Defined in​

src/types/api/rpcspec_0_6/components.ts:206


DECLARE_TXN​

Ƭ DECLARE_TXN: DECLARE_TXN_V0 | DECLARE_TXN_V1 | DECLARE_TXN_V2 | DECLARE_TXN_V3

Defined in​

src/types/api/rpcspec_0_6/components.ts:208


DECLARE_TXN_V0​

Ƭ DECLARE_TXN_V0: Object

Type declaration​

NameType
type"DECLARE"
sender_addressADDRESS
max_feeFELT
version"0x0" | "0x100000000000000000000000000000000"
signatureSIGNATURE
class_hashFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:210


DECLARE_TXN_V1​

Ƭ DECLARE_TXN_V1: Object

Type declaration​

NameType
type"DECLARE"
sender_addressADDRESS
max_feeFELT
version"0x1" | "0x100000000000000000000000000000001"
signatureSIGNATURE
nonceFELT
class_hashFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:219


DECLARE_TXN_V2​

Ƭ DECLARE_TXN_V2: Object

Type declaration​

NameType
type"DECLARE"
sender_addressADDRESS
compiled_class_hashFELT
max_feeFELT
version"0x2" | "0x100000000000000000000000000000002"
signatureSIGNATURE
nonceFELT
class_hashFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:229


DECLARE_TXN_V3​

Ƭ DECLARE_TXN_V3: Object

Type declaration​

NameType
type"DECLARE"
sender_addressADDRESS
compiled_class_hashFELT
version"0x3" | "0x100000000000000000000000000000003"
signatureSIGNATURE
nonceFELT
class_hashFELT
resource_boundsRESOURCE_BOUNDS_MAPPING
tipu64
paymaster_dataFELT[]
account_deployment_dataFELT[]
nonce_data_availability_modeDA_MODE
fee_data_availability_modeDA_MODE

Defined in​

src/types/api/rpcspec_0_6/components.ts:240


BROADCASTED_TXN​

Ƭ BROADCASTED_TXN: BROADCASTED_INVOKE_TXN | BROADCASTED_DECLARE_TXN | BROADCASTED_DEPLOY_ACCOUNT_TXN

Defined in​

src/types/api/rpcspec_0_6/components.ts:257


BROADCASTED_INVOKE_TXN​

Ƭ BROADCASTED_INVOKE_TXN: INVOKE_TXN

Defined in​

src/types/api/rpcspec_0_6/components.ts:262


BROADCASTED_DEPLOY_ACCOUNT_TXN​

Ƭ BROADCASTED_DEPLOY_ACCOUNT_TXN: DEPLOY_ACCOUNT_TXN

Defined in​

src/types/api/rpcspec_0_6/components.ts:264


BROADCASTED_DECLARE_TXN​

Ƭ BROADCASTED_DECLARE_TXN: BROADCASTED_DECLARE_TXN_V1 | BROADCASTED_DECLARE_TXN_V2 | BROADCASTED_DECLARE_TXN_V3

Defined in​

src/types/api/rpcspec_0_6/components.ts:266


BROADCASTED_DECLARE_TXN_V1​

Ƭ BROADCASTED_DECLARE_TXN_V1: Object

Type declaration​

NameType
type"DECLARE"
sender_addressADDRESS
max_feeFELT
version"0x1" | "0x100000000000000000000000000000001"
signatureSIGNATURE
nonceFELT
contract_classDEPRECATED_CONTRACT_CLASS

Defined in​

src/types/api/rpcspec_0_6/components.ts:271


BROADCASTED_DECLARE_TXN_V2​

Ƭ BROADCASTED_DECLARE_TXN_V2: Object

Type declaration​

NameType
type"DECLARE"
sender_addressADDRESS
compiled_class_hashFELT
max_feeFELT
version"0x2" | "0x100000000000000000000000000000002"
signatureSIGNATURE
nonceFELT
contract_classCONTRACT_CLASS

Defined in​

src/types/api/rpcspec_0_6/components.ts:282


BROADCASTED_DECLARE_TXN_V3​

Ƭ BROADCASTED_DECLARE_TXN_V3: Object

Type declaration​

NameType
type"DECLARE"
sender_addressADDRESS
compiled_class_hashFELT
version"0x3" | "0x100000000000000000000000000000003"
signatureSIGNATURE
nonceFELT
contract_classCONTRACT_CLASS
resource_boundsRESOURCE_BOUNDS_MAPPING
tipu64
paymaster_dataFELT[]
account_deployment_dataFELT[]
nonce_data_availability_modeDA_MODE
fee_data_availability_modeDA_MODE

Defined in​

src/types/api/rpcspec_0_6/components.ts:293


DEPLOY_ACCOUNT_TXN​

Ƭ DEPLOY_ACCOUNT_TXN: DEPLOY_ACCOUNT_TXN_V1 | DEPLOY_ACCOUNT_TXN_V3

Defined in​

src/types/api/rpcspec_0_6/components.ts:310


DEPLOY_ACCOUNT_TXN_V1​

Ƭ DEPLOY_ACCOUNT_TXN_V1: Object

Type declaration​

NameType
type"DEPLOY_ACCOUNT"
max_feeFELT
version"0x1" | "0x100000000000000000000000000000001"
signatureSIGNATURE
nonceFELT
contract_address_saltFELT
constructor_calldataFELT[]
class_hashFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:312


DEPLOY_ACCOUNT_TXN_V3​

Ƭ DEPLOY_ACCOUNT_TXN_V3: Object

Type declaration​

NameType
type"DEPLOY_ACCOUNT"
version"0x3" | "0x100000000000000000000000000000003"
signatureSIGNATURE
nonceFELT
contract_address_saltFELT
constructor_calldataFELT[]
class_hashFELT
resource_boundsRESOURCE_BOUNDS_MAPPING
tipu64
paymaster_dataFELT[]
nonce_data_availability_modeDA_MODE
fee_data_availability_modeDA_MODE

Defined in​

src/types/api/rpcspec_0_6/components.ts:323


DEPLOY_TXN​

Ƭ DEPLOY_TXN: Object

Type declaration​

NameType
type"DEPLOY"
versionFELT
contract_address_saltFELT
constructor_calldataFELT[]
class_hashFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:338


INVOKE_TXN​

Ƭ INVOKE_TXN: INVOKE_TXN_V0 | INVOKE_TXN_V1 | INVOKE_TXN_V3

Defined in​

src/types/api/rpcspec_0_6/components.ts:346


INVOKE_TXN_V0​

Ƭ INVOKE_TXN_V0: Object

Type declaration​

NameType
type"INVOKE"
max_feeFELT
version"0x0" | "0x100000000000000000000000000000000"
signatureSIGNATURE
contract_addressADDRESS
entry_point_selectorFELT
calldataFELT[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:348


INVOKE_TXN_V1​

Ƭ INVOKE_TXN_V1: Object

Type declaration​

NameType
type"INVOKE"
sender_addressADDRESS
calldataFELT[]
max_feeFELT
version"0x1" | "0x100000000000000000000000000000001"
signatureSIGNATURE
nonceFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:358


INVOKE_TXN_V3​

Ƭ INVOKE_TXN_V3: Object

Type declaration​

NameType
type"INVOKE"
sender_addressADDRESS
calldataFELT[]
version"0x3" | "0x100000000000000000000000000000003"
signatureSIGNATURE
nonceFELT
resource_boundsRESOURCE_BOUNDS_MAPPING
tipu64
paymaster_dataFELT[]
account_deployment_dataFELT[]
nonce_data_availability_modeDA_MODE
fee_data_availability_modeDA_MODE

Defined in​

src/types/api/rpcspec_0_6/components.ts:368


L1_HANDLER_TXN​

Ƭ L1_HANDLER_TXN: { version: FELT ; type: "L1_HANDLER" ; nonce: NUM_AS_HEX } & FUNCTION_CALL

Defined in​

src/types/api/rpcspec_0_6/components.ts:383


COMMON_RECEIPT_PROPERTIES​

Ƭ COMMON_RECEIPT_PROPERTIES: Object

Type declaration​

NameType
transaction_hashTXN_HASH
actual_feeFEE_PAYMENT
execution_statusTXN_EXECUTION_STATUS
finality_statusTXN_FINALITY_STATUS
block_hashBLOCK_HASH
block_numberBLOCK_NUMBER
messages_sentMSG_TO_L1[]
revert_reason?string
eventsEVENT[]
execution_resourcesEXECUTION_RESOURCES

Defined in​

src/types/api/rpcspec_0_6/components.ts:389


PENDING_COMMON_RECEIPT_PROPERTIES​

Ƭ PENDING_COMMON_RECEIPT_PROPERTIES: Object

Type declaration​

NameType
transaction_hashTXN_HASH
actual_feeFEE_PAYMENT
messages_sentMSG_TO_L1[]
eventsEVENT[]
revert_reason?string
finality_status"ACCEPTED_ON_L2"
execution_statusTXN_EXECUTION_STATUS
execution_resourcesEXECUTION_RESOURCES

Defined in​

src/types/api/rpcspec_0_6/components.ts:402


INVOKE_TXN_RECEIPT​

Ƭ INVOKE_TXN_RECEIPT: { type: "INVOKE" } & COMMON_RECEIPT_PROPERTIES

Defined in​

src/types/api/rpcspec_0_6/components.ts:413


PENDING_INVOKE_TXN_RECEIPT​

Ƭ PENDING_INVOKE_TXN_RECEIPT: { type: "INVOKE" } & PENDING_COMMON_RECEIPT_PROPERTIES

Defined in​

src/types/api/rpcspec_0_6/components.ts:417


DECLARE_TXN_RECEIPT​

Ƭ DECLARE_TXN_RECEIPT: { type: "DECLARE" } & COMMON_RECEIPT_PROPERTIES

Defined in​

src/types/api/rpcspec_0_6/components.ts:421


PENDING_DECLARE_TXN_RECEIPT​

Ƭ PENDING_DECLARE_TXN_RECEIPT: { type: "DECLARE" } & PENDING_COMMON_RECEIPT_PROPERTIES

Defined in​

src/types/api/rpcspec_0_6/components.ts:425


DEPLOY_ACCOUNT_TXN_RECEIPT​

Ƭ DEPLOY_ACCOUNT_TXN_RECEIPT: { type: "DEPLOY_ACCOUNT" ; contract_address: FELT } & COMMON_RECEIPT_PROPERTIES

Defined in​

src/types/api/rpcspec_0_6/components.ts:429


PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT​

Ƭ PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT: { type: "DEPLOY_ACCOUNT" ; contract_address: FELT } & PENDING_COMMON_RECEIPT_PROPERTIES

Defined in​

src/types/api/rpcspec_0_6/components.ts:434


DEPLOY_TXN_RECEIPT​

Ƭ DEPLOY_TXN_RECEIPT: { type: "DEPLOY" ; contract_address: FELT } & COMMON_RECEIPT_PROPERTIES

Defined in​

src/types/api/rpcspec_0_6/components.ts:439


L1_HANDLER_TXN_RECEIPT​

Ƭ L1_HANDLER_TXN_RECEIPT: { type: "L1_HANDLER" ; message_hash: NUM_AS_HEX } & COMMON_RECEIPT_PROPERTIES

Defined in​

src/types/api/rpcspec_0_6/components.ts:444


PENDING_L1_HANDLER_TXN_RECEIPT​

Ƭ PENDING_L1_HANDLER_TXN_RECEIPT: { type: "L1_HANDLER" ; message_hash: NUM_AS_HEX } & PENDING_COMMON_RECEIPT_PROPERTIES

Defined in​

src/types/api/rpcspec_0_6/components.ts:449


TXN_RECEIPT​

Ƭ TXN_RECEIPT: INVOKE_TXN_RECEIPT | L1_HANDLER_TXN_RECEIPT | DECLARE_TXN_RECEIPT | DEPLOY_TXN_RECEIPT | DEPLOY_ACCOUNT_TXN_RECEIPT

Defined in​

src/types/api/rpcspec_0_6/components.ts:454


PENDING_TXN_RECEIPT​

Ƭ PENDING_TXN_RECEIPT: PENDING_INVOKE_TXN_RECEIPT | PENDING_L1_HANDLER_TXN_RECEIPT | PENDING_DECLARE_TXN_RECEIPT | PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT

Defined in​

src/types/api/rpcspec_0_6/components.ts:461


MSG_TO_L1​

Ƭ MSG_TO_L1: Object

Type declaration​

NameType
from_addressFELT
to_addressFELT
payloadFELT[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:467


MSG_FROM_L1​

Ƭ MSG_FROM_L1: Object

Type declaration​

NameType
from_addressETH_ADDRESS
to_addressADDRESS
entry_point_selectorFELT
payloadFELT[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:473


FUNCTION_CALL​

Ƭ FUNCTION_CALL: Object

Type declaration​

NameType
contract_addressADDRESS
entry_point_selectorFELT
calldataFELT[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:480


CONTRACT_CLASS​

Ƭ CONTRACT_CLASS: Object

Type declaration​

NameType
sierra_programFELT[]
contract_class_versionstring
entry_points_by_type{ CONSTRUCTOR: SIERRA_ENTRY_POINT[] ; EXTERNAL: SIERRA_ENTRY_POINT[] ; L1_HANDLER: SIERRA_ENTRY_POINT[] }
entry_points_by_type.CONSTRUCTORSIERRA_ENTRY_POINT[]
entry_points_by_type.EXTERNALSIERRA_ENTRY_POINT[]
entry_points_by_type.L1_HANDLERSIERRA_ENTRY_POINT[]
abistring

Defined in​

src/types/api/rpcspec_0_6/components.ts:486


DEPRECATED_CONTRACT_CLASS​

Ƭ DEPRECATED_CONTRACT_CLASS: Object

Type declaration​

NameType
programstring
entry_points_by_type{ CONSTRUCTOR: DEPRECATED_CAIRO_ENTRY_POINT[] ; EXTERNAL: DEPRECATED_CAIRO_ENTRY_POINT[] ; L1_HANDLER: DEPRECATED_CAIRO_ENTRY_POINT[] }
entry_points_by_type.CONSTRUCTORDEPRECATED_CAIRO_ENTRY_POINT[]
entry_points_by_type.EXTERNALDEPRECATED_CAIRO_ENTRY_POINT[]
entry_points_by_type.L1_HANDLERDEPRECATED_CAIRO_ENTRY_POINT[]
abiCONTRACT_ABI

Defined in​

src/types/api/rpcspec_0_6/components.ts:497


DEPRECATED_CAIRO_ENTRY_POINT​

Ƭ DEPRECATED_CAIRO_ENTRY_POINT: Object

Type declaration​

NameType
offsetNUM_AS_HEX | number
selectorFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:507


SIERRA_ENTRY_POINT​

Ƭ SIERRA_ENTRY_POINT: Object

Type declaration​

NameType
selectorFELT
function_idxnumber

Defined in​

src/types/api/rpcspec_0_6/components.ts:512


CONTRACT_ABI​

Ƭ CONTRACT_ABI: readonly CONTRACT_ABI_ENTRY[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:517


CONTRACT_ABI_ENTRY​

Ƭ CONTRACT_ABI_ENTRY: Object

Type declaration​

NameType
selectorFELT
inputstring
outputstring

Defined in​

src/types/api/rpcspec_0_6/components.ts:519


STRUCT_ABI_ENTRY​

Ƭ STRUCT_ABI_ENTRY: Object

Type declaration​

NameType
typeSTRUCT_ABI_TYPE
namestring
sizenumber
membersSTRUCT_MEMBER[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:525


STRUCT_MEMBER​

Ƭ STRUCT_MEMBER: TYPED_PARAMETER & { offset: number }

Defined in​

src/types/api/rpcspec_0_6/components.ts:532


EVENT_ABI_ENTRY​

Ƭ EVENT_ABI_ENTRY: Object

Type declaration​

NameType
typeEVENT_ABI_TYPE
namestring
keysTYPED_PARAMETER[]
dataTYPED_PARAMETER[]

Defined in​

src/types/api/rpcspec_0_6/components.ts:536


FUNCTION_STATE_MUTABILITY​

Ƭ FUNCTION_STATE_MUTABILITY: "view"

Defined in​

src/types/api/rpcspec_0_6/components.ts:543


FUNCTION_ABI_ENTRY​

Ƭ FUNCTION_ABI_ENTRY: Object

Type declaration​

NameType
typeFUNCTION_ABI_TYPE
namestring
inputsTYPED_PARAMETER[]
outputsTYPED_PARAMETER[]
stateMutabilityFUNCTION_STATE_MUTABILITY

Defined in​

src/types/api/rpcspec_0_6/components.ts:545


TYPED_PARAMETER​

Ƭ TYPED_PARAMETER: Object

Type declaration​

NameType
namestring
typestring

Defined in​

src/types/api/rpcspec_0_6/components.ts:553


SIMULATION_FLAG_FOR_ESTIMATE_FEE​

Ƭ SIMULATION_FLAG_FOR_ESTIMATE_FEE: "SKIP_VALIDATE"

Defined in​

src/types/api/rpcspec_0_6/components.ts:558


PRICE_UNIT​

Ƭ PRICE_UNIT: "WEI" | "FRI"

Defined in​

src/types/api/rpcspec_0_6/components.ts:559


FEE_ESTIMATE​

Ƭ FEE_ESTIMATE: Object

Type declaration​

NameType
gas_consumedFELT
gas_priceFELT
overall_feeFELT
unitPRICE_UNIT

Defined in​

src/types/api/rpcspec_0_6/components.ts:561


FEE_PAYMENT​

Ƭ FEE_PAYMENT: Object

Type declaration​

NameType
amountFELT
unitPRICE_UNIT

Defined in​

src/types/api/rpcspec_0_6/components.ts:568


RESOURCE_BOUNDS_MAPPING​

Ƭ RESOURCE_BOUNDS_MAPPING: Object

Type declaration​

NameType
l1_gasRESOURCE_BOUNDS
l2_gasRESOURCE_BOUNDS

Defined in​

src/types/api/rpcspec_0_6/components.ts:573


RESOURCE_BOUNDS​

Ƭ RESOURCE_BOUNDS: Object

Type declaration​

NameType
max_amountu64
max_price_per_unitu128

Defined in​

src/types/api/rpcspec_0_6/components.ts:578


RESOURCE_PRICE​

Ƭ RESOURCE_PRICE: Object

Type declaration​

NameType
price_in_friFELT
price_in_weiFELT

Defined in​

src/types/api/rpcspec_0_6/components.ts:583


EXECUTION_RESOURCES​

Ƭ EXECUTION_RESOURCES: Object

Type declaration​

NameType
stepsnumber
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​

src/types/api/rpcspec_0_6/components.ts:588


TRANSACTION_TRACE​

Ƭ TRANSACTION_TRACE: Object

TRACE API

Type declaration​

NameType
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​

src/types/api/rpcspec_0_6/components.ts:606


INVOKE_TXN_TRACE​

Ƭ INVOKE_TXN_TRACE: Object

Type declaration​

NameType
type"INVOKE"
execute_invocationFUNCTION_INVOCATION | { revert_reason: string }
validate_invocation?FUNCTION_INVOCATION
fee_transfer_invocation?FUNCTION_INVOCATION
state_diff?STATE_DIFF

Defined in​

src/types/api/rpcspec_0_6/components.ts:614


DECLARE_TXN_TRACE​

Ƭ DECLARE_TXN_TRACE: Object

Type declaration​

NameType
type"DECLARE"
validate_invocation?FUNCTION_INVOCATION
fee_transfer_invocation?FUNCTION_INVOCATION
state_diff?STATE_DIFF

Defined in​

src/types/api/rpcspec_0_6/components.ts:623


DEPLOY_ACCOUNT_TXN_TRACE​

Ƭ DEPLOY_ACCOUNT_TXN_TRACE: Object

Type declaration​

NameType
type"DEPLOY_ACCOUNT"
constructor_invocationFUNCTION_INVOCATION
validate_invocation?FUNCTION_INVOCATION
fee_transfer_invocation?FUNCTION_INVOCATION
state_diff?STATE_DIFF

Defined in​

src/types/api/rpcspec_0_6/components.ts:631


L1_HANDLER_TXN_TRACE​

Ƭ L1_HANDLER_TXN_TRACE: Object

Type declaration​

NameType
type"L1_HANDLER"
function_invocationFUNCTION_INVOCATION
state_diff?STATE_DIFF

Defined in​

src/types/api/rpcspec_0_6/components.ts:640


NESTED_CALL​

Ƭ NESTED_CALL: FUNCTION_INVOCATION

Defined in​

src/types/api/rpcspec_0_6/components.ts:647


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: EXECUTION_RESOURCES }

Defined in​

src/types/api/rpcspec_0_6/components.ts:650


ORDERED_EVENT​

Ƭ ORDERED_EVENT: Object

Type declaration​

NameType
ordernumber
eventEVENT

Defined in​

src/types/api/rpcspec_0_6/components.ts:663


ORDERED_MESSAGE​

Ƭ ORDERED_MESSAGE: Object

Type declaration​

NameType
ordernumber
messageMSG_TO_L1

Defined in​

src/types/api/rpcspec_0_6/components.ts:669