hello, where does we get the trabnsaction data to request to eth_sendRawTransaction??how to create Transaction hash ??

This library is very useful for this if you are writing Javascript:

Specifically this example in the readme I think answers your question:

const EthereumTx = require('ethereumjs-tx').Transaction
const privateKey = Buffer.from(

const txParams = {
  nonce: '0x00',
  gasPrice: '0x09184e72a000',
  gasLimit: '0x2710',
  to: '0x0000000000000000000000000000000000000000',
  value: '0x00',
  data: '0x7f7465737432000000000000000000000000000000000000000000000000000000600057',

// The second parameter is not necessary if these values are used
const tx = new EthereumTx(txParams, { chain: 'mainnet', hardfork: 'petersburg' })
const serializedTx = tx.serialize()