pub fn document_token_payment_extra_sighash_data(
token_id: &[u8; 32],
owner_id: &[u8; 32],
data_contract_id: &[u8; 32],
document_id: &[u8; 32],
amount: u64,
platform_version: &PlatformVersion,
) -> Result<Vec<u8>, ProtocolError>Expand description
Extra sighash data of a document action paid from a token shielded pool
(TokenPaymentInfo::V1): the token id, the batch owner, the document’s contract and id
and the amount paid, so a bundle proven for one document cannot be replayed for another
document, batch owner, token or cost.