Documentation ¶
Index ¶
- Constants
- func CreateEmptyRawTransactionAndHash(to string, nonce uint64, amount, gasLimit, gasPrice *big.Int, isTestNet bool) (string, string, error)
- func SignRawTransaction(hash string, privateKey []byte) ([]byte, error)
- func VerifyAndCombineRawTransaction(emptyTrans, signature, publicKey string, isTestNet bool) (bool, string)
- type TxStruct
Constants ¶
View Source
const ( SmallTag byte = 0xC0 LargeTag byte = 0xF7 ChainIDMainnet byte = 99 ChainIDTestnet byte = 101 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.