Skip to content

Commit

Permalink
Testing collapsible sections.
Browse files Browse the repository at this point in the history
  • Loading branch information
stoobie committed Jul 10, 2023
1 parent f0b8a7b commit 9d3ad06
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,28 @@ accessing the contract's storage, that standalone programs do not require. The S

[id="get_execution_info"]
== `get_execution_info`

[discrete]
==== Syntax

[%collapsible]
====
[source,cairo,subs="+quotes,+macros"]
----
extern fn get_execution_info_syscall() -> SyscallResult<Box<starknet::info::ExecutionInfo>> implicits(
GasBuiltin, System
) nopanic;
----
====

[discrete]
==== Description

[%collapsible]
====
Gets information about the original transaction.
In Cairo 1.0, all block/transaction/execution context getters are batched into this single system call.
====

[discrete]
==== Arguments
Expand Down

0 comments on commit 9d3ad06

Please sign in to comment.