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 }
-
The index of the public key
Declaration
Swift
var keyIndex: Int { get }
-
sign(transaction:
AsynchronoussignableData: ) Sign the data with account private key
Declaration
Swift
func sign(transaction: Flow.Transaction, signableData: Data) async throws -> Data
Parameters
signableData
The data to be signed
Return Value
The signed data