Private Key Input
data class PrivateKeyInput(val privateKey: PrivateKey, val address: AccountAddressInput? = null, val legacy: Boolean = true)
Input for creating an account from a private key.
This is a wrapper around the private key, and optionally an address to associate with the account. We can use this when we want to pass a single object to a function that needs the private key, address, and legacy flag. For example, with infix functions.
Parameters
private Key
the private key to create the account from
address
the address to associate with the account
legacy
whether to use the legacy address format