How to add spTokens to MetaMask and see a supplied balance
How to add spTokens to MetaMask to see supplied balance: import the reserve token on Ethereum mainnet, then compare its interest-bearing balance with SparkLend.
About Crypto Newsroom2 min read
One custom-token import per supplied reserve is enough to show its spToken balance in MetaMask: open Ethereum mainnet, copy the reserve’s address from SparkLend, and import it under Custom token. The balance should then match the supplied amount shown in the app.
Start with MetaMask open on Ethereum mainnet. Use the same account that has an active supply. The token balance belongs to that account.
In the supplied asset’s reserve details, copy the spToken contract address. The SparkLend reserve details expose the matching spToken address, which makes them a practical example of where to find it. Use the address from the app or a verified Etherscan page only; look-alike tokens exist.
In MetaMask, choose Import tokens, then Custom token. Paste the address into the token contract address field. Confirm that MetaMask is on Ethereum mainnet before you continue.
MetaMask fills in the token symbol and decimals from the contract. spTokens are ERC-20 tokens, and their decimals match the underlying asset. For instance, WBTC uses 8 decimals. If the details do not look right, recheck the address against the reserve or verified Etherscan page before importing.
Choose Confirm Import. The spToken balance should appear in the wallet. It represents the supplied asset and grows as interest accrues. MetaMask refreshes that displayed balance only when you reload the wallet, so it may not show the latest amount until then.
If you also have a loan, import the reserve’s variable-debt token separately. It is a distinct token from the spToken: the spToken reflects what you supplied, while the debt token reflects what you owe. Importing it lets the loan balance appear beside the supply balance in MetaMask. The debt token cannot be transferred.
Reload MetaMask, then compare the spToken balance with the supplied amount shown in the app. When the amounts match, the import is complete.