Predefined Structures
Last updated
Last updated
Characters
Purpose
Example
/
Reserved for path separator
/apps/afan/users
.
Reserved for rule configs and owner configs
{
.write: false,
...
*
Reserved for owner configs
{
"apps": { ".owner": { "owners": {
"*": {
...
$
Reserved for path variables in rule configs
{
transfer: {
$from: {
$to: {
$key: {
value: {
.write: ...
{, }
Reserved for variables in built-in function paths
/transfer/{from}/{to}/{key}/value
#, [, ], <ASCII control characters 0-31 or 127>
Reserved for other purposes in the future
-
Path
Purpose
/accounts/$address/balance
Account balance
/accounts/$address/nonce
Account nonce
/apps
Applications
/consensus
Consensus
/checkin
Check-in
/deposit/$service_id/$address/$deposit_id
Deposit
/deposit_accounts/$service_id/$address/$account_id
Deposit accounts
/escrow
Escrow
/payments
Payment
/sharding
Sharding
/token/name
Token name
/token/symbol
Token symbol
/token/total_supply
Token total supply
/transfer/$from/$to/$key/value
Transfer
/withdraw/$service_id/$address/$withdraw_id
Withdraw