chainline-contracts / chainline.contracts / HubContract / tx_getOutgoingGasValue

tx_getOutgoingGasValue

private fun tx_getOutgoingGasValue(originator: ScriptHash): Long (source)

Finds the outgoing GAS value of the current transaction. This is useful for calculating whether the wallet can cover system fees when funds are going to be reserved in the invocation.

Parameters

originator - the initiating wallet

Return
the value of the transaction in GAS as a fixed8 long