Skip to main content
참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
Determines the transaction type based on the sender and recipient addresses. The function checks if both addresses are UTXO addresses, in which case it returns 2. If only the sender address is a UTXO address, it returns 1. Otherwise, it returns 0.

Parameters

Returns

number The transaction type based on the addresses.

Source

utils/shards.ts:53