starknet_addInvokeTransaction RPC Method
Parameters
invoke_transaction
object
REQUIRED
Loading...
INVOKE_TXN_V0
object
Loading...
type
string
REQUIRED
Loading...
max_fee
string
REQUIRED
Loading...
version
string
REQUIRED
Loading...
signature
string
REQUIRED
Loading...
contract_address
string
REQUIRED
Loading...
entry_point_selector
string
REQUIRED
Loading...
calldata
array
REQUIRED
Loading...
INVOKE_TXN_V1
object
Loading...
type
string
REQUIRED
Loading...
sender_address
string
REQUIRED
Loading...
calldata
array
REQUIRED
Loading...
max_fee
string
REQUIRED
Loading...
version
string
REQUIRED
Loading...
signature
string
REQUIRED
Loading...
nonce
string
REQUIRED
Loading...
INVOKE_TXN_V3
object
Loading...
type
string
REQUIRED
Loading...
sender_address
string
REQUIRED
Loading...
calldata
array
REQUIRED
Loading...
version
string
REQUIRED
Loading...
signature
string
REQUIRED
Loading...
nonce
string
REQUIRED
Loading...
resource_bounds
object
REQUIRED
Loading...
l1_gas
string
REQUIRED
Loading...
l2_gas
string
REQUIRED
Loading...
tip
string
REQUIRED
Loading...
paymaster_data
array
REQUIRED
Loading...
account_deployment_data
array
REQUIRED
Loading...
nonce_data_availability_mode
string
REQUIRED
Loading...
fee_data_availability_mode
string
REQUIRED
Loading...
Returns
result
object
Loading...
transaction_hash
string
Loading...
Request
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_8 for version 0.8, /rpc/v0_6 for version 0.63curl --location 'https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_8' \4--header 'accept: application/json' \5--header 'content-type: application/json' \6--data '{7"id": 1,8"jsonrpc": "2.0",9"method": "starknet_addInvokeTransaction",10"params": [11{12"sender_address": "SENDER_ADDRESS",13"type": "INVOKE",14"calldata": [15"CALLDATA"16],17"signature": [18"SIGNATURE"19],20"version": "VERSION",21"max_fee": "MAX_FEE",22"nonce": "NONCE_VALUE"23}24]25}'
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_8 for version 0.8, /rpc/v0_6 for version 0.63curl --location 'https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_8' \4--header 'accept: application/json' \5--header 'content-type: application/json' \6--data '{7"id": 1,8"jsonrpc": "2.0",9"method": "starknet_addInvokeTransaction",10"params": [11{12"sender_address": "SENDER_ADDRESS",13"type": "INVOKE",14"calldata": [15"CALLDATA"16],17"signature": [18"SIGNATURE"19],20"version": "VERSION",21"max_fee": "MAX_FEE",22"nonce": "NONCE_VALUE"23}24]25}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free