Questions tagged [transfer]
The transfer tag has no usage guidance.
48
questions
0
votes
2
answers
23
views
Transfer nft with anchor-link
I use this repository to connect to Anchor-Wallet while trying to transfer nfts:
anchor-link
When I send the transaction, in the console I have this error:
Uncaught (in promise) exception: Account ...
0
votes
0
answers
13
views
Transferring Tokens
I have a few accounts I would like to combine. How would it best be done? Everytime I try to transfer them, I get a DOS command line that I have no clue what to do with.
1
vote
0
answers
111
views
solved - contract to transfer multiple tokens
I tried to create a function to transfer multiple tokens on one transaction.
code.
token.cpp
void token::transfers(const name &from,
const name &to,
...
-1
votes
1
answer
42
views
How can i Set up my own business idea and token
I'm new to the EOS world, I have a business idea and want to build my own project on EOS so I want to build my own network, my own token that is also built on a modified EOS.token.
But I would like to ...
0
votes
1
answer
74
views
Issues regarding the update of a staking contract
Suppose that we need a token staking mechanism (similar to the stake and lock function introduced in the EOSIO training). Someone owns that contract. Now the question is:
How would the rest of the ...
1
vote
1
answer
46
views
Is it possible to get the initiating contract name from a token transfer?
When an external account transfers tokens to my account (which has a contract with an "on_notify" action for incoming transfers), is there any way I can get the name of the contract that ...
1
vote
1
answer
4k
views
Transaction Net Usage Is Too High: 136 > 0
I am getting this message when trying to transfer EOS from my Ledger nano S:
Transaction Net Usage Is Too High: 136 > 0
What is the reason for this error message when trying to do a transaction?
1
vote
0
answers
73
views
Multiple transaction hash collisions on mainnet
There are currently multiple transaction hash collisions in consecutive blocks in EOS as noted below:
7dcdcdb558028c7703faddee96e1aa48e9bbe7cd3a07cd0a74513a3599185b40 at block 10712420 and 10712421
...
1
vote
0
answers
52
views
How to transfer tokens from within a contract?
I went through the tutorial adding inline actions to external contracts. I understood most of it but it didnt work with eosio.token contract. I have my contract. From that contract I want to create an ...
0
votes
1
answer
194
views
Sent EOS to wrong Account From exchange Coinbase
We transferred funds from Coinbase to another coinbase account but the account name was mistyped due to autocorrect and funds went to an account called 'counbasebase' instead of the exchange '...
0
votes
1
answer
63
views
Monitoring transactions on a private blockchain
I just started working with EOSIO and I created a private blockchain with 4 producersfollowing the bios boot sequence tutorial (https://developers.eos.io/welcome/latest/tutorials/bios-boot-sequence).
...
0
votes
1
answer
41
views
Return token to owner after initiating a transfer to my contract
Good Day,
I am working on a contract where for example, If I send 2 ETH to a contract, ( 1 ETH = 2 Cryptokitty tokens ) then that contract is supposed to return me 4 Cryptokitty tokens.
What I Have ...
0
votes
0
answers
44
views
Catch errors when calling deposit
When I send EOS in a contract to several recipients, it can happen that this fails, e.g. because a recipient has a contract running like that:
Example contract of one recipient:
[[eosio::on_notify("...
0
votes
1
answer
287
views
How to operate the get_actions endpoint to get transaction history
Following what I think is the official EOS documentation for get_actions .
I stumble upon the parameters pos and offset, but they are not documented anywhere.
Can somebody explain to me, what these ...
1
vote
3
answers
116
views
Is it posible to deny EOS transfers for Account?
Imagine I have account A and account B.
Account A is the "owner" of B and A wants to deny EOS Transfers for Account B and allow all other Actions(that means A should have full "active" operations)?
...
0
votes
2
answers
53
views
Zero amount transfer?
I just want to use EOSIO as a DB of some events by sending transactions when other events fire. Is it possible to send ZERO amount transfers? The events are millions a day, and I don't know how to ...
0
votes
0
answers
96
views
Make a transfer from contract code on behalf of user [duplicate]
Installed: eosio: 1.7.3; eosio.cdt: 1.6.1
Implemented and locally deployed: sample market contract and eosio.token contract. In order to make an inline transfer from market contract in behalf of a ...
2
votes
1
answer
2k
views
assertion failure with message: no balance object found
This error message occurs when trying to do a transfer:
assertion failure with message: no balance object found
What causes it and how can it be avoided?
7
votes
1
answer
682
views
How to debug eosio::on_notify("eosio.token::transfer") actions?
I'm working on a contract that will run an action when receiving tokens. The following code does not run when the account receives EOS or JUNGLE tokens on the Jungle Testnet.
#include "./test.hpp"
.....
1
vote
1
answer
140
views
The symbol does not match
Token transfer between 2 accounts give me this error. token transfer works though if one of the account is the token contract account. how do i fix this?
"details": [
{
"message": "...
2
votes
2
answers
673
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
1
answer
62
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
1
answer
66
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
1
answer
234
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
1
answer
249
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
1
answer
457
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
1
answer
253
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
1
answer
584
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
1
answer
199
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
...
2
votes
1
answer
471
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
4
answers
632
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
1
answer
283
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
0
answers
70
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
1
answer
208
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
1
answer
883
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
3
answers
164
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
2
answers
125
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
1
answer
171
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
0
answers
297
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
2
answers
1k
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 ...
4
votes
1
answer
252
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
1
answer
718
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
1
answer
213
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
0
answers
22
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
2
answers
711
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
0
answers
133
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
1
answer
880
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","...
11
votes
2
answers
3k
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 ...