Documentation ¶
Index ¶
- Constants
- func CreateTransaction(node string, rawStr string) (string, error)
- func CreateTransactionWithAccount(node string, account common.Address, rawStr string) (string, error)
- func CreateTransactionWithSignature(node string, txRaw string, sig string) (string, error)
- func LocalGenerateAddress(publicSpend, publicView string) (string, error)
- func MainnetAssetId(assetId string) string
- func SentRawTransaction(node string, raw string) (string, error)
- func Sign(msg []byte, privateViewKey, privateSpendKey, mask *crypto.Key, index uint64) crypto.Signature
- func SignTransaction(account common.Address, raw signerInput) (*common.SignedTransaction, error)
- func SignTransactionRaw(node string, account common.Address, rawStr string) (string, error)
Constants ¶
View Source
const MainNetworkId = "XIN"
Variables ¶
This section is empty.
Functions ¶
func CreateTransaction ¶
create for sign transaction
func LocalGenerateAddress ¶
func MainnetAssetId ¶
func SignTransaction ¶
func SignTransaction(account common.Address, raw signerInput) (*common.SignedTransaction, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.