Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Is it possible to pay transaction fees for one address from another address?

Given contract A and contract B, is it possible for all of contract A's fees (including the storage fee) to be paid by contract B?

Votes Newest


In short, no (or I don't know it). Each transaction and contract has to pay the fee itself. You can only change the sendMode for transaction.

You can try to organise this. Some random ideas

  • Use contract B as proxy for all transactions to contract A and B will add some TONCOINS for payment. Also the surplus can be returned by contract A to contract B.

  • If contract A has any transaction with a small amount, then A will send the transaction to contract B (also attaching the payment body) to receive some TONCOINS. B will then send back the transaction with some amount and attached body data.

Posted 3 months ago