pub async fn resolve_did_string_and_generate_proof(
peer: &Peer,
did_string: &str,
network: TargetNetwork,
) -> Result<(Proof, Coin), WalletError>
Expand description
Resolves a DID string to find the current DID coin and generates its proof.
§Arguments
peer
- The peer to query blockchain datadid_string
- The DID string (e.g., “did:chia:1s8j4pquxfu5mhlldzu357qfqkwa9r35mdx5a0p0ehn76dr4ut4tqs0n6kv”)network
- The target network (mainnet/testnet)
§Returns
A tuple containing the DID proof and the current DID coin