Wallet address
From UBot Studio
(Difference between revisions)
(Created page with "'''$defi wallet address''' is a function that returns the public address of your DeFi wallet. The public address is like a bank account number. It’s what you give people to...") |
|||
Line 1: | Line 1: | ||
− | '''$defi wallet address''' is a function that returns the public address of your DeFi wallet. | + | '''$defi wallet address''' is a function that returns the public address of your DeFi (Decentralized Finance) wallet on a specified blockchain. |
− | + | This function is designed for enterprise users who are actively using DeFi tools and need to frequently reference their wallet address. | |
+ | |||
+ | == User Level == | ||
+ | |||
+ | This function is exclusively available for enterprise users. | ||
== Parameters == | == Parameters == | ||
− | '''Chain:''' | + | '''Chain:''' Chain is the blockchain on which your DeFi Wallet is located. It can be either "Avalanche" or "BinanceSmartChain". |
− | == Return | + | == Return Value == |
− | This function returns a string | + | This function returns a string value which is the public address of your DeFi wallet on the specified blockchain. |
== Example == | == Example == | ||
<pre> | <pre> | ||
− | ui | + | define areacode |
+ | ui text msg("DeFi Wallet Address: {$defi wallet address("BinanceSmartChain")}") | ||
</pre> | </pre> | ||
− | + | In this example, the script is showing the public address of your DeFi wallet for Binance Smart Chain. | |
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 18:28, 4 July 2023
$defi wallet address is a function that returns the public address of your DeFi (Decentralized Finance) wallet on a specified blockchain.
This function is designed for enterprise users who are actively using DeFi tools and need to frequently reference their wallet address.
Contents |
User Level
This function is exclusively available for enterprise users.
Parameters
Chain: Chain is the blockchain on which your DeFi Wallet is located. It can be either "Avalanche" or "BinanceSmartChain".
Return Value
This function returns a string value which is the public address of your DeFi wallet on the specified blockchain.
Example
define areacode ui text msg("DeFi Wallet Address: {$defi wallet address("BinanceSmartChain")}")
In this example, the script is showing the public address of your DeFi wallet for Binance Smart Chain.