make_solana_vault_address
Documentation for eth_defi.solana.make_solana_vault_address function.
- make_solana_vault_address(address)
Encode a native account as a lowercase-safe, reversible vault identity.
Decode the original case-sensitive base58 text before converting to hex. This retains the key format already used by collected Neutral Trade data.
- Parameters
address (str) – Exact base58 Solana account, including program-derived accounts.
- Returns
solana-vault-followed by the account’s 64 lowercase hex digits.- Raises
ValueError – If the account encoding is invalid.
- Return type