Documentation ¶
Index ¶
- func BuildTransaction(accountID, networkPassphrase string, operation []txnbuild.Operation, ...) (string, error)
- func IsValidAccountID(accountID string) bool
- func IsValidAssetCode(code string) bool
- func IsValidSecret(secret string) bool
- func TransactionHash(tx *xdr.Transaction, networkPassphrase string) ([32]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTransaction ¶
func BuildTransaction(accountID, networkPassphrase string, operation []txnbuild.Operation, memo txnbuild.Memo) (string, error)
BuildTransaction is used in compliance server. The sequence number in built transaction will be equal 0!
func IsValidAccountID ¶
IsValidAccountID returns true if account ID is valid
func IsValidAssetCode ¶
IsValidAssetCode returns true if asset code is valid
func IsValidSecret ¶
IsValidSecret returns true if secret is valid
func TransactionHash ¶
func TransactionHash(tx *xdr.Transaction, networkPassphrase string) ([32]byte, error)
TransactionHash returns transaction hash for a given Transaction based on the network
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
http
|
|
Contains structs shared between bridge and compliance servers
|
Contains structs shared between bridge and compliance servers |
Click to show internal directories.
Click to hide internal directories.