The scriptPubKey contains the public key used to synthesize the public address. Here are two pedantic approaches, not bitcoinj, applying **[bx](https://github.com/libbitcoin/libbitcoin-explorer/wiki)** commands to synthesize the public address of interest above. ```% echo 04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f | bx sha256 | bx ripemd160 | bx base58check-encode ``` **1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa** ```% echo 04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f | bx ec-to-address ``` **1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa**