Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split between invoke_v1 for broadcasting and regular tx because INVOK… #111

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2023,12 +2023,43 @@
},
{
"title": "Invoke transaction V1",
"$ref": "#/components/schemas/INVOKE_TXN_V1"
"$ref": "#/components/schemas/BROADCASTED_INVOKE_TXN_V1"
}
]
}
]
},
"BROADCASTED_INVOKE_TXN_V1": {
"title": "Invoke transaction V1",
"description": "initiates a transaction from a given account",
"allOf": [
{
"title": "Common transaction properties",
"$ref": "#/components/schemas/BROADCASTED_TXN_COMMON_PROPERTIES"
},
{
"type": "object",
"properties": {
"sender_address": {
"title": "sender address",
"$ref": "#/components/schemas/ADDRESS"
},
"calldata": {
"type": "array",
"title": "calldata",
"description": "The data expected by the account's `execute` function (in most usecases, this includes the called contract address and a function selector)",
"items": {
"$ref": "#/components/schemas/FELT"
}
}
},
"required": [
"sender_address",
"calldata"
]
}
]
},
"L1_HANDLER_TXN": {
"title": "L1 Handler transaction",
"allOf": [
Expand Down