Symbol as its storage key, you can run a command like so:
Balance(Address) in a token contract, you’ll need to provide the key in a base64-encoded XDR form:
Be sure to check out our guide on creating XDR ledger keys for help generating them.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Restore archived contract storage entries using Stellar CLI
Symbol as its storage key, you can run a command like so:
stellar contract restore \
--source S... \
--network testnet \
--id C... \
--key COUNTER \
--durability persistent
Balance(Address) in a token contract, you’ll need to provide the key in a base64-encoded XDR form:
stellar contract restore \
--source S... \
--network testnet \
--id C... \
--key-xdr AAAABgAAAAHXkotywnA8z+r365/0701QSlWouXn8m0UOoshCtNHOYQAAAA4AAAAHQmFsYW5jZQAAAAAB \
--durability persistent