starknet_getTransactionByHash

Get the details and status of a submitted transaction

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
transaction_hashstringRequiredformat: "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,62})$"

The hash of the requested transaction

Response

This endpoint returns an object.
Starknet Get Transaction by Hash Result0object

Initiate a transaction from an account

OR
Starknet Get Transaction by Hash Result1object

A call to an l1_handler on an L2 contract induced by a message from L1

OR
Starknet Get Transaction by Hash Result2object
OR
Starknet Get Transaction by Hash Result3object

The structure of a deploy transaction. Note that this transaction type is deprecated and will no longer be supported in future versions

OR
Starknet Get Transaction by Hash Result4object

Deploys an account contract