File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,13 @@ The following is an example flow:
58585 . Custom logic sends the funds.
59596 . ` snap_updateInterface ` is called again, replacing the whole UI with a success message.
6060
61- ## Get an interactive interface's state
61+ ## Get an interactive interface's state and context
6262
63- At any point you can retrieve an interactive interface's state.
64- To do this, call the [ ` snap_getInterfaceState ` ] ( ../../reference/snaps-api.md#snap_getinterfacestate )
65- method with the ID of the interface.
66-
67- ### Get an interactive interface's context
68-
69- At any point you can retrieve an interactive interface's context.
70- To do this, call the [ ` snap_getInterfaceContext ` ] ( ../../reference/snaps-api.md#snap_getinterfacecontext )
71- method with the ID of the interface.
63+ At any point, you can retrieve an interactive interface's state and context.
64+ To retrieve its state, call the [ ` snap_getInterfaceState ` ] ( ../../reference/snaps-api.md#snap_getinterfacestate )
65+ method with the interface ID.
66+ To retrieve its context, call [ ` snap_getInterfaceContext ` ] ( ../../reference/snaps-api.md#snap_getinterfacecontext )
67+ with the interface ID.
7268
7369## Example
7470
You can’t perform that action at this time.
0 commit comments