addKey

fun addKey(key: PublicKey, weight: Int = 1): CompositeKey.Builder

Adds a child CompositeKey node. Specifying a weight for the child is optional and will default to 1.