-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Is your feature request related to a problem? Please describe.
Evonode owners, would like to see a Core transaction hash, when they perform withdrawals in the Dash Platform network without wallet (f.e. on Platform Explorer). Right now, only address (outputScript) is available, with certain metadata, like status, transactionIndex, and transactionSignHeight, which makes it hard to link it and show it to users.
When evo masternode performs a withdrawal, the system creates withdrawal transaction in Dash Platform and Drive broadcast AssetUnlock transaction in Core chain.
Drive creates a document in Withdrawals data contract, and it is using GetAssetUnlockStatuses request to maintain the status of the AssetUnlock output and updates the document accordingly ongoing changes.
Since transactionSignHeight only indicates when assetUnlock was signed, and it does not guarantee that it was included in that block, it is not straightforward to match Platform transaction with Core transaction.
Describe the solution you'd like
Add optional txid
field in getassetunlockstatuses
Core RPC query, that will be populated once transaction successfully broadcasted.
Additional context
Platform Explorer does not show Core txid in validator's withdrawals because of that limitation. Crowdnode also would like to link Core transaction id after a mass withdrawals to their clients.