diff --git a/backend/src/api/blocks.ts b/backend/src/api/blocks.ts index a19d10a01..20eb6b607 100644 --- a/backend/src/api/blocks.ts +++ b/backend/src/api/blocks.ts @@ -98,7 +98,7 @@ class Blocks { vin: [{ scriptsig: tx.vin[0].scriptsig }], - vout: tx.vout.map((vout) => ({ scriptpubkey_address: vout.scriptpubkey_address })) + vout: tx.vout.map((vout) => ({ scriptpubkey_address: vout.scriptpubkey_address, value: vout.value })) }; } } diff --git a/backend/src/interfaces.ts b/backend/src/interfaces.ts index c467bce1c..49ab65f65 100644 --- a/backend/src/interfaces.ts +++ b/backend/src/interfaces.ts @@ -43,6 +43,7 @@ interface VinStrippedToScriptsig { interface VoutStrippedToScriptPubkey { scriptpubkey_address: string | undefined; + value: number; } export interface TransactionExtended extends Transaction { diff --git a/frontend/src/app/components/block/block.component.html b/frontend/src/app/components/block/block.component.html index 4757afc95..e1e088b2c 100644 --- a/frontend/src/app/components/block/block.component.html +++ b/frontend/src/app/components/block/block.component.html @@ -47,7 +47,7 @@