Research Article

Trusted Blockchain-Based Signcryption Protocol and Data Management for Authentication and Authorization in VANETs

Algorithm 8

Transaction
Input: getchainVersion
Output: buildTime, buildType, genesisHash, etc.
 [group:1]> getNodeVersion
 ClientVersion{
  version='2.8.0',
  supportedVersion='2.8.0',
  chainId='1',
  buildTime='20210830 12:52:15',
  buildType='Linux/clang/Release',
  gitBranch='HEAD',
  genesisHash='bf0e0242a8040ead7549de49423712233a36d1b51b056a1c20df5eb78a9613e5'
 }
 transaction hash: 0xe88c2b9bf6dec9fa10356fd75b3d5414a5bd48f7ca246a8134e7f877928c47fc
 contract address: 0x48102a5d29a6109384cb5a9c97d9fd07dd1a4416
 currentAccount: 0xb13d80305a847dd2160c71465b50a6a1c0506ee3
 [group:1]> getBlockNumber
 9
 [group:1]> getCurrentAccount
 0xb13d80305a847dd2160c71465b50a6a1c0506ee3