Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [transfer]

The tag has no usage guidance.

2
votes
1answer
62 views

Make a transfer inline

I would like to send SYS token owned by the smart contract account to a third party account when anyone call a specific action. I have tried the following code but I am getting an error: [[eosio::...
2
votes
1answer
29 views

Is there any possibility to hide account balance or transaction origination?

Imagine I have A and B A transfers tokens to B Is there any possibility to: hide A account balance? hide A EOS account name?
2
votes
1answer
33 views

Is there any way to “request transfer” from another EOS account without “multisig”

imagine I have account A and account B. Account A would like to ask B to transfer him some EOS tokens. Is it technically possible to: create a multisig request transaction from A side: "B, please ...
0
votes
1answer
31 views

Token transfer missing_auth_exception

{ "code":500,"message":"Internal Service Error", "error":{"code":3090004,"name":"missing_auth_exception", "what":"Missing required authority", "details":[{"message":"missing authority of thomsoimj21","...
0
votes
1answer
43 views

Need the updated parameters for push_transaction

I have some problems trying to transfer EOS in push_transaction. I followed the instructions from https://steemit.com/eos/@noprom/using-eos-rpc-api-to-transfer-eos and other references because the ...
1
vote
1answer
129 views

How to write a contract to stake my own token without doing transfer?

In my case, I need to write a contract which has an action can stake my own token (issued by my account with eosio.token, like TADO). If A has 10 TADO already, when he stakes 4 TADO, his balance still ...
1
vote
1answer
48 views

Why am I getting Error 3010014: Invalid symbol when I perform a simple transfer

INFO Jungle Testnet 2.0 <myaccount1> has funds WHAT I WANT TO DO Just perform a simple transfer of EOS such as: cleos transfer <myaccount1> <myaccount2> "1.0000 EOS" cleos ...
1
vote
1answer
203 views

How to transfer token and do some action inline?Or how to parse string to signature and publickey?

I'm coding a contract, a game. I need players transfer some token(EOS etc.) to contract, and then, the contract will verify the signature(from player side) and insert a record into database. So I have ...
0
votes
1answer
84 views

Error when transfering EOS token on jungle testnet2 between my accounts

I've create 2 accounts on the testnet (jungle2) and funded one account with the faucet. I then tried to transfer some EOS to the other account. this is the command I've used but it's not working ...
1
vote
1answer
88 views

Using transfer to send tokens within a smart contract results in “unable to find key”

This is my example code deployed on myaccount #include <eosiolib/eosio.hpp> #include <eosiolib/print.hpp> #include <eosiolib/currency.hpp> using namespace eosio; class ...
4
votes
4answers
205 views

Why do token transfers on EOSIO consume RAM?

Very basic question but I just can't figure out why token transfers on EOS are stored in (expensive) RAM and not just simply in the blockchain? Please help me understand!
2
votes
1answer
110 views

How do trade eosio token and other token (NFT) in contract?

I'm trying to develop NFT's contract with reference to unicoeos/eosio.nft. Also I'm trying to develop NFT's shop contract in order to trade NFT and eosio.token. The logic trading NFT and eosio....
1
vote
0answers
52 views

How can I provide multiple currency support in my EOS smart contract

Can we transfer other crypto currencies which are based on different blockchains lets say bitcoin, litecoin, neo or ether, using the EOS smart contract. I heard that there is gonna be feature to ...
1
vote
1answer
85 views

Hello contract: How do i execute “hi” action when notified by eosio.token contract of an EOS transfer?

I want to extend the Hello contract (as an exercise) How do i execute "hi" action when notified by eosio.token contract of an EOS transfer ? I understood i have to extend EOSIO_ABI macro to handle ...
3
votes
1answer
602 views

How to transfer EOS after a particular delay?

I know that there is a concept called deferred transaction but how can I use this concept in transferring the EOS to another account. The scenario is: I need to transfer certain amount of coins ...
3
votes
3answers
116 views

How does one prevent smart contracts from taking all your tokens, when you give them your auth?

Suppose you are a malicious smart contract developer and embedded an inline transaction in your smart contract that calls eosio.token::transfer 100 eos from the caller's account to your account. An ...
3
votes
2answers
84 views

How do I ensure my Action Listener responds only to authentic senders?

I have an apply function that listeners for transfers to my contract from eosio.token. On notification of a transfer, a function (buy) is called within the contract. How do I ensure that this "buy" ...
1
vote
1answer
90 views

How to sell / transfer a token for EOS token?

Say I have created my own custom token (TOK) that I value at 100 TOK = 1 USD. Is there a way I can create a smart contract that accepts EOS from an account and then transfers TOK to an account, whilst ...
1
vote
0answers
244 views

How to pack a transaction to be pushed to rpc using push_tranasction?

Im trying to figure out exactly what is expected to pack a transaction. I've written a class to pack my transaction based off of a couple of opensource projects I've seen. First of all is there any ...
1
vote
2answers
722 views

inline transfer causes error

My inline transfer causes the following error. Error 3050003: eosio_assert_message assertion failure Error Details: assertion failure with message: read I dont know how to solve it. I ...
3
votes
1answer
195 views

Is there a way to create offline transaction with cleos (or any other safe tool)?

Trying to transfer EOS on main net using air gapped computer. Want to print a transaction and then type it manually.
3
votes
1answer
508 views

Can not unpack data from received eosio.token::transfer action

v1.0.6 I am trying to make my contract react to the token transfer. The code compiles fine, but I get the error when I do >cleos set contract accountsale . accountsale.wast accountsale.abi ...
0
votes
1answer
151 views

I tried to transfer token EOSDAC, but getting below error, can someone help me in this

cleos --url http://api.eosnewyork.io transfer ge4dimrzgige ironmanineos " 0.0001 EOSDAC" 157492ms thread-0 main.cpp:2712 main ] Failed with error: unspecified (0) ...
1
vote
0answers
20 views

ICO - can I block transaction before certain date?

Is it possible the following: A person send EOS to a contract account before certain date, and the tokens are rejected? Or I have to watch all the transactions and if they do not meet the criteria, I ...
2
votes
2answers
392 views

How can I transfer tokens using RPC?

The RPC documentation doesn't list any functions for transferring tokens. How can I do this using RPC?
1
vote
0answers
115 views

unpack_action_data - error: !“unresolvable”: env.free. #

I am trying to use unpack_action_data. void apply(const account_name contract, const account_name act) { if (act == N(transfer)) { transferReceived(eosio::unpack_action_data<...
1
vote
1answer
521 views

What is the use of “memo” while doing transfers?

Example in the following transaction details there is a "memo" key, but I cannot find any documentation about it eosio.token <= eosio.token::transfer {"from":"scott","to":"exchange","...
10
votes
2answers
2k views

How to do something when your contract is an action notification recipient (like when it receives funds)?

The EOSIO_ABI macro seems to only forward actions meant for our contract. How do you also listen to all other contract actions (like the very common transfer action for the account "eosio.token")? I ...