FlowSigner
public protocol FlowSigner
A protocol for signer to use private key to sign the data
-
Address in the flow blockchain
Declaration
Swift
var address: Flow.Address { get set } -
The index of the public key
Declaration
Swift
var keyIndex: Int { get set } -
Sign the data with account private key
Declaration
Swift
func sign(signableData: Data) throws -> DataParameters
signableDataThe data to be signed
Return Value
The signed data
View on GitHub
FlowSigner Protocol Reference