0

I'm trying to figure out how to get the time when the transaction was included in block by it's hash on the P-Chain.

I looked into getTx method but the response doesn't include this information:

{
  unsignedTx: {
    networkID: 5,
    blockchainID: '11111111111111111111111111111111LpoYY',
    outputs: [],
    inputs: [ [Object] ],
    memo: '0x44656c656761746564207769746820466967656d6e74277320536c61746520415049',
    validator: {
      nodeID: 'NodeID-4B4rc5vdD1758JSBYL1xyvE5NHGzz6xzH',
      start: 1658162594,
      end: 1658252280,
      weight: 1000000000
    },
    stake: [ [Object] ],
    rewardsOwner: { addresses: [Array], locktime: 0, threshold: 1 }
  },
  credentials: [ { signatures: [Array] } ]
}
adrian
  • 1

0 Answers0