get Credentials By Contract
Retrieves all credentials associated with a specific contract.
Returns credentials where the contractId matches the provided contract address. Useful for finding all credentials (including failed deployments) for a wallet.
Return
List of credentials for this contract (empty if none found)
Parameters
contract Id
The contract address to filter by
Throws
if reading fails
Example:
val credentials = manager.getCredentialsByContract(contractId = "CBCD1234...")
println("Found ${credentials.size} credential(s) for this contract")Content copied to clipboard