In a smart contract a function can be marked as payable. This means that the function can accept the native token of the chain as a payment value.
function depositETH() external payable {
depositor[msg.sender].balance = msg.value;
}
from glider import *
def query():
props_included = [MethodProp.IS_PAYABLE]
functions = Functions()\
.with_all_properties(props_included)\
.exec(5)
return functions