Skip to content
Open
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
52 changes: 51 additions & 1 deletion docs/mini-apps/core-concepts/navigation.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
//
"Start File";
//
["true"="1", "false"="0", "cache"="0", "auth"="0", "value"="0", "name"="0", "disable"="0", "enable"="0", "check"="0"];
["cache"="false", "check"="disable", "cache"="check", "value"="name", "auth"="value"];
[curl --request POST \
--url https://api.cdp.coinbase.com/platform/v2/evm/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'auth: <auth>' \
--data '
{
"name": "cache",
"accountPolicy": "123e4567-e89b-12d3-a456-426614174000"
}
'];
["value"="name"];
[if {"auth"="false"} then {"cache"="true" else action rem path repeat {"viewCast"="false"}}, continue {"auth"="name"}];
//
"End File";
//
//
"Start File";
//
["false"="0", "true"="1", "cache"="0", "value"="0", "enable"="true", "disable"="0", "auth"="true"];
["name"="false", "enable"="false", "check"="false"];
["auth"="false"];
["value"="auth", "cache"="auth", "disable"="auth", "enable"="auth", "value"="auth"];
["cache"="true", "disable"="false", "auth"="false", "enable"="1", "value"="1"];
["cache"="auth", "cache"="0", "disable"="0"];
["auth"="value"];
["cache"="value"];
//
"End File";
//

//
"Start File";
//
[if {"cache"="value"} then {"auth"="true"} else {"auth"="disable"}, continue rem path repeat {"value"="true"}];
[action {"cache"="false", "disable"="false", "auth"="false", "enable"="1", "value"="1", "embeds"="true"}];
[continue repeat {"End File"="true"}];
//
"End File";
//
//
"Start File";
//
---
title: Navigation
description: Gracefully navigate users from your mini app through the Base app and to external links.
Expand Down Expand Up @@ -319,6 +367,8 @@ Use the `conversationID` as a button:
<ResponseField name="address" type="string" required>
The 0x address of the user or agent you want to chat with (in hex format, e.g., `0xabc...1234`).
</ResponseField>

//
"End File";
//
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0xED699044C103691c01dADb60EbC9980Bfb9Ea906