Bitcoin Forum
May 02, 2024, 04:05:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to pay transaction fee from another account in ethereum?  (Read 91 times)
cryptosyor (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
May 26, 2021, 08:48:52 PM
 #1

Hi! I need to call a function from one address but pay a fee from another.
How to pay transaction fee from another account in ethereum?
1714665946
Hero Member
*
Offline Offline

Posts: 1714665946

View Profile Personal Message (Offline)

Ignore
1714665946
Reply with quote  #2

1714665946
Report to moderator
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
ryzaadit
Legendary
*
Offline Offline

Activity: 2464
Merit: 1228



View Profile
May 26, 2021, 09:02:34 PM
 #2

No, the fee always paid by the address account you are use for the transaction.

If using "smart contract" you can only trigger the address you are set up to create the transaction, in the end gass fee need to paid from the account who spending the transaction.

There is no way you can paid with third account(other account).

.freebitcoin.       ▄▄▄█▀▀██▄▄▄
   ▄▄██████▄▄█  █▀▀█▄▄
  ███  █▀▀███████▄▄██▀
   ▀▀▀██▄▄█  ████▀▀  ▄██
▄███▄▄  ▀▀▀▀▀▀▀  ▄▄██████
██▀▀█████▄     ▄██▀█ ▀▀██
██▄▄███▀▀██   ███▀ ▄▄  ▀█
███████▄▄███ ███▄▄ ▀▀▄  █
██▀▀████████ █████  █▀▄██
 █▄▄████████ █████   ███
  ▀████  ███ ████▄▄███▀
     ▀▀████   ████▀▀
BITCOIN
DICE
EVENT
BETTING
WIN A LAMBO !

.
            ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
▄▄▄▄▄██████████████████████████████████▄▄▄▄
▀██████████████████████████████████████████████▄▄▄
▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
  ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
       ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.PLAY NOW.
cryptosyor (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
May 26, 2021, 09:12:49 PM
 #3

No, the fee always paid by the address account you are use for the transaction.

If using "smart contract" you can only trigger the address you are set up to create the transaction, in the end gass fee need to paid from the account who spending the transaction.

There is no way you can paid with third account(other account).

yes, this is what I need, from one address to create a transaction and pay gas, but so that the contract would perform actions for another account, as if this another address had called it.

P.S. these addresses are mine and I have private keys)
Cappex
Member
**
Offline Offline

Activity: 571
Merit: 11


View Profile
May 26, 2021, 09:13:00 PM
 #4

Hi! I need to call a function from one address but pay a fee from another.
How to pay transaction fee from another account in ethereum?

you can't do it, otherwise everyone would spend money from other wallets... transfer ETH to the wallet where you have the tokens to move, check the cost of gas.
cryptosyor (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
May 26, 2021, 09:23:18 PM
 #5

you can't do it, otherwise everyone would spend money from other wallets... transfer ETH to the wallet where you have the tokens to move, check the cost of gas.

If you have a private keys, is it not possible to sign and send a function call on behalf of a different address?
WalkerIVIV
Hero Member
*****
Offline Offline

Activity: 2436
Merit: 503


Cryptocasino.com


View Profile
May 26, 2021, 11:19:56 PM
 #6

Sorry mate but it will not be possible. The possible way for you to send your ethereum to the address that will be used to call a function. The function will only work with the address that being used to call it.
There's no way for you to do that other than it.

OcTradism
Hero Member
*****
Offline Offline

Activity: 1736
Merit: 801



View Profile WWW
May 27, 2021, 03:24:24 AM
 #7

You can not. You will have to send your ETH to that wallet and replace or cancel your transaction that is stucked, pending, etc. This tutorial can help you if you use Metamask, MEW, MyCrypto wallets.

[GUIDE] How to cancel or replace an ETH transaction (Metamask, MEW, MyCrypto)

Check gas price on Ethereum network before you set Gas price for your transactions
ETH/ERC20 - Check and select good Gas price
Gas now is very helpful, informative and the Average GasPrice with Timezone Table is great.
GAS NOW - New Price Gas Forecast Service

.
.Duelbits.
█▀▀▀▀▀











█▄▄▄▄▄
TRY OUR
  NEW  UNIQUE
GAMES!
.
..DICE...
███████████████████████████████
███▀▀                     ▀▀███
███    ▄▄▄▄         ▄▄▄▄    ███
███   ██████       ██████   ███
███   ▀████▀       ▀████▀   ███
███                         ███
███                         ███
███                         ███
███   ▄████▄       ▄████▄   ███
███   ██████       ██████   ███
███    ▀▀▀▀         ▀▀▀▀    ███
███▄▄                     ▄▄███
███████████████████████████████
.
.MINES.
███████████████████████████████
████████████████████████▄▀▄████
██████████████▀▄▄▄▀█████▄▀▄████
████████████▀ █████▄▀████ █████
██████████      █████▄▀▀▄██████
███████▀          ▀████████████
█████▀              ▀██████████
█████                ██████████
████▌                ▐█████████
█████                ██████████
██████▄            ▄███████████
████████▄▄      ▄▄█████████████
███████████████████████████████
.
.PLINKO.
███████████████████████████████
█████████▀▀▀       ▀▀▀█████████
██████▀  ▄▄███ ███      ▀██████
█████  ▄▀▀                █████
████  ▀                    ████
███                         ███
███                         ███
███                         ███
████                       ████
█████                     █████
██████▄                 ▄██████
█████████▄▄▄       ▄▄▄█████████
███████████████████████████████
10,000x
MULTIPLIER
NEARLY UP TO
.50%. REWARDS
▀▀▀▀▀█











▄▄▄▄▄█
semobo
Full Member
***
Offline Offline

Activity: 1498
Merit: 146


View Profile
May 27, 2021, 06:55:32 AM
 #8

Hi! I need to call a function from one address but pay a fee from another.
How to pay transaction fee from another account in ethereum?
Its not possible, Bitcoin wallets do have such a feature but I don't think it is available in any way with ethereum wallets and contract addresses.
bittick
Hero Member
*****
Offline Offline

Activity: 2296
Merit: 506


Cryptocasino.com


View Profile
May 27, 2021, 07:24:42 AM
 #9

function from an address? did you mean function from a smart contract address? if yes then that's not possible since the account you used to send a transaction will always pay for gas but if the function itself is just a constant, pure or view function then it just requires you to make a call and no gas will be consumed.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!