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 -> Data
Parameters
signableData
The data to be signed
Return Value
The signed data