npm install kyc-address-decoder
KYC verification txs can be found in a few ways.
- Output 2 and the last input always point to one of the verification addresses that was valid at that block height
- OP_return data on output 1 always starts with the hex word: 825c
To decode a tx you think may be a KYC verification use the following code: