Connected Wallet Address
You can get the current connected wallet address:
get(me/address, ADDR)
You can display the address:
prompt :-
get(me/address, ADDR),
show [
text('Connected Address: ', ADDR)
].
You can also use the address to call an ABI function and then display the result:
prompt :-
get(me/address, ADDR),
call_fn(YOUR_SMART_CONTRACT, balanceOf(ADDR), [BALANCE]),
show [
text('Connected Address: ', ADDR),
text('Balance: ', BALANCE)
].
Last updated