@UserTrue в receipt в формате json, мне оттуда нужен result, он в формате bigInt
если я сделаю
console.log('Статус:', receipt.status);
то получу в лог Поток №1 : Статус:
бигинт как-то по-особенному надо выводить?
сам json:
{
blockHash: '0x060f5717dff435edd16df0c9be20a01b3eb7e7d8e35cdd5b0b658031c5d69496',
blockNumber: 48002943n,
cumulativeGasUsed: 7263908n,
effectiveGasPrice: 91377342858n,
from: '0x354ef3cc21485c0ff2032291884e40c3415e550a',
gasUsed: 118759n,
logs: [
{
address: '0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789',
topics: [Array],
data: '0x',
blockNumber: 48002943n,
transactionHash: '0xf9c36be52a6bd83d640f5d007740a053be18775302576503b1591ec8af1a6131',
transactionIndex: 37n,
blockHash: '0x060f5717dff435edd16df0c9be20a01b3eb7e7d8e35cdd5b0b658031c5d69496',
logIndex: 210n,
removed: false
},
{
address: '0x000031dd6d9d3a133e663660b959162870d755d4',
topics: [Array],
data: '0x',
blockNumber: 48002943n,
transactionHash: '0xf9c36be52a6bd83d640f5d007740a053be18775302576503b1591ec8af1a6131',
transactionIndex: 37n,
blockHash: '0x060f5717dff435edd16df0c9be20a01b3eb7e7d8e35cdd5b0b658031c5d69496',
logIndex: 211n,
removed: false
},
{
address: '0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789',
topics: [Array],
data: '0x000000000000000000000000000000000000000000000000000000000000000d0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000002ff2451ac80b3800000000000000000000000000000000000000000000000000000000000240ec',
blockNumber: 48002943n,
transactionHash: '0xf9c36be52a6bd83d640f5d007740a053be18775302576503b1591ec8af1a6131',
transactionIndex: 37n,
blockHash: '0x060f5717dff435edd16df0c9be20a01b3eb7e7d8e35cdd5b0b658031c5d69496',
logIndex: 212n,
removed: false
},
{
address: '0x0000000000000000000000000000000000001010',
topics: [Array],
data: '0x000000000000000000000000000000000000000000000000002ff2451ac80b380000000000000000000000000000000000000000000009dee182b0977e91b8a900000000000000000000000000000000000000000000000052bf15fc8b52f4740000000000000000000000000000000000000000000009dee152be5263c9ad7100000000000000000000000000000000000000000000000052ef0841a61affac',
blockNumber: 48002943n,
transactionHash: '0xf9c36be52a6bd83d640f5d007740a053be18775302576503b1591ec8af1a6131',
transactionIndex: 37n,
blockHash: '0x060f5717dff435edd16df0c9be20a01b3eb7e7d8e35cdd5b0b658031c5d69496',
logIndex: 213n,
removed: false
},
{
topics: [Array],
data: '0x000000000000000000000000000000000000000000000000000ca85208443400000000000000000000000000000000000000000000000000532c096e467fde24000000000000000000000000000000000000000000006e45018836a104044e3a000000000000000000000000000000000000000000000000531f611c3e3baa24000000000000000000000000000000000000000000006e450194def30c48823a',
blockNumber: 48002943n,
transactionHash: '0xf9c36be52a6bd83d640f5d007740a053be18775302576503b1591ec8af1a6131',
transactionIndex: 37n,
blockHash: '0x060f5717dff435edd16df0c9be20a01b3eb7e7d8e35cdd5b0b658031c5d69496',
removed: false
}
],
logsBloom: '0x10000000000000000000000000000000000000000000004000000000000400000008000000000002000200110000000000108000000000000000020000000000000000000000000000000002000000800000000000000000000300000000000000000400080000000400040000000000000000000000004080840000000000000000000b00000000010002000000000000000000000000000001000000000000200000000400000000400020000000000000001000000000000002000000004000000000000008000001000400010008004008000000800000108000000000000000010000000000000000000000000000000000000000000000000000100000',
status: 1n,
to: '0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789',
transactionHash: '0xf9c36be52a6bd83d640f5d007740a053be18775302576503b1591ec8af1a6131',
transactionIndex: 37n,
type: 2n