OperationMetadata
public struct OperationMetadata : Codable
Structure representing the metadata needed by Operation
‘s in order to comply with the RPC standards
-
The public key of the account managing the sender of this
Operation
Declaration
Swift
public let managerKey: String?
-
The current counter used by this account on the network. All future
Operation
‘s need to be 1 higherDeclaration
Swift
public let counter: Int
-
The current Tezos network chainID to use for
Operation
‘sDeclaration
Swift
public let chainID: String
-
The current branch used by the head block, used for estiamting and running preapply, to ensure the latest state information is available
Declaration
Swift
public let branch: String
-
The current Tezos network protocol to use for
Operation
‘sDeclaration
Swift
public let `protocol`: String
-
Create an OperationMetadata
Declaration
Swift
public init(managerKey: String?, counter: Int, blockchainHead: BlockchainHead)