You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My question is how to determine that a transactions has failed or it's valid? How to filter out valid transactions only? What determines a tranaction as failed?
Given this tx: "ab2a7b26f6e943a903115a0968606c8943d335ec883943eb15f235dc1b3b1df6"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My question is how to determine that a transactions has failed or it's valid? How to filter out valid transactions only? What determines a tranaction as failed?
Given this tx: "ab2a7b26f6e943a903115a0968606c8943d335ec883943eb15f235dc1b3b1df6"
oura output is something like this:
{
hash: 'ab2a7b26f6e943a903115a0968606c8943d335ec883943eb15f235dc1b3b1df6',
fee: 334095,
ttl: 134326200,
validity_interval_start: null,
network_id: null,
input_count: 2,
collateral_input_count: 1,
has_collateral_output: false,
output_count: 2,
mint_count: 0,
total_output: 2414159228,
metadata: null,
inputs: [
{
tx_id: '5227ae7ce2a5053f9fb875df530710ead958df6cd0d1b895323aed8cf23417a7',
index: 1
},
{
tx_id: 'e3b33fe542b72b99e1e07567ea9f07d7c4441fe69e06d5454567526696cef349',
index: 0
}
],
outputs: [
{
address: 'addr1x94ec3t25egvhqy2n265xfhq882jxhkknurfe9ny4rl9k6dj764lvrxdayh2ux30fl0ktuh27csgmpevdu89jlxppvrst84slu',
amount: 1875506797,
assets: [Array],
datum_hash: '74799166868417267be05f670b11f6a6c9a78d9168b79a7d90d822de10b7bc7e',
inline_datum: [Object]
},
{
address: 'addr1qx483zx9hkk6jyzfcn96m4nsxj6gg7ynvknz5apyvssr957s7j7aagcgd7nk0y7ztu0p80rg4k2jf0dfflz5zjqtnh6s2czhkw',
amount: 538652431,
assets: [Array],
datum_hash: null,
inline_datum: null
}
],
collateral_inputs: [
{
tx_id: '53f81e6b0fa6bd6867c632e7dcc395bbfbd6f75803fc85c470e7e193199f7146',
index: 2
}
],
collateral_output: null,
mint: null,
vkey_witnesses: [
{
vkey_hex: '98290f9ab608892bba5e57da6128ab7ebad6208db6aa9f922bfabbe0b5d1a19a',
signature_hex: 'd59ec491f3b973073eed3babf5b7202c75710562ad321abe2ba0056bcf56a54a308998dc8654c3b02053aa15037ba915e967e85ab12b231df9d5a54851fbb30c'
}
],
native_witnesses: [],
plutus_witnesses: [],
plutus_redeemers: [
{
purpose: 'spend',
ex_units_mem: 530000,
ex_units_steps: 165000000,
input_idx: 1,
plutus_data: [Object]
}
],
plutus_data: [],
withdrawals: null,
size: 844
}
Beta Was this translation helpful? Give feedback.
All reactions