Versions in this module Expand all Collapse all v1 v1.0.1 Aug 18, 2026 Changes in this version + func FullHash(payload *irohapb.Transaction_Payload) ([]byte, error) + func ReSignWithBatchMeta(transactionBytes []byte, kp KeyPair, reducedHashesHex []string) (*irohapb.Transaction, error) + func ReducedHash(reducedPayload *irohapb.Transaction_Payload_ReducedPayload) ([]byte, error) + type KeyPair struct + PublicKey [32]byte + Seed [32]byte + func GenerateKeyPair() (KeyPair, error) + func KeyPairFromHex(publicHex, privateHex string) (KeyPair, error) + func (kp KeyPair) PrivateHex() string + func (kp KeyPair) PublicHex() string + func (kp KeyPair) Sign(message []byte) ([]byte, error) + type TransactionBuilder struct + func NewTransactionBuilder(creatorAccountID string, createdTimeUnixMillis uint64) *TransactionBuilder + func (b *TransactionBuilder) GrantPermission(accountID string, permission irohapb.GrantablePermission) *TransactionBuilder + func (b *TransactionBuilder) ReducedHash() ([]byte, error) + func (b *TransactionBuilder) ReducedHashHex() (string, error) + func (b *TransactionBuilder) SetQuorum(quorum uint32) *TransactionBuilder + func (b *TransactionBuilder) Sign(kp KeyPair) (*irohapb.Transaction, error) + func (b *TransactionBuilder) SignWithBatchMeta(kp KeyPair, reducedHashesHex []string) (*irohapb.Transaction, error) + func (b *TransactionBuilder) TransferAsset(srcAccountID, destAccountID, assetID, description, amount string) *TransactionBuilder v1.0.0 Aug 17, 2026