hash

fun Transaction.hash(isGM: Boolean = true, chainId: Int = 1, useProofOfWork: Boolean = false): Pair<String, ByteArray>

对交易进行哈希运算

Return

PairPair

Parameters

isGM

sm2p256v1 or secp256k1

chainId

区块链ID

useProofOfWork

默认false