Questions tagged [cryptocurrency]

a digital currency in which encryption techniques are used to regulate the generation of units of currency and verify the transfer of funds. Cryptocurrency can be mined and stored into an electronic wallet, locally on a computer or flash drive.

941 questions
16
votes
5 answers

How to place a futures market order using python-binance: APIError(code=-1111): Precision is over the maximum defined for this asset

thanks for taking the time to check out my issue. I'm struggling to place orders using python-binance, specifically a perpetual futures market order. I don't believe this is a duplicate on here but there have been several queries around the same…
Flipflop
  • 171
  • 1
  • 1
  • 8
14
votes
12 answers

python-Binance api: APIError(code=-1013): Filter failure: LOT_SIZE

When trying to place a buy or sell order with the python-binance api I got the following error: APIError(code=-1013): Filter failure: LOT_SIZE. Now I've seen at iceberg_parts that this means there is probably something wrong with my buying or…
Nassim
  • 141
  • 1
  • 1
  • 4
11
votes
2 answers

Getting all filled orders from the Binance API

I am working on a trading bot and I wanted to train it by getting a list of my order history from Binance for a specific period of time. I looked at the API documentation here, but it seems that I am always required to provide a ticker symbol. While…
10
votes
2 answers

Add Meta Data To Solana Token with @solana/web3.js

I am trying to create an NFT using web3.js and spl-token.js. However, i need to add meta data (like the name of the token or other attributes), otherwise it just shows up as "Unknown Token" in my wallet. This is the relevant part of the code where I…
Ood
  • 1,445
  • 4
  • 23
  • 43
9
votes
5 answers

Verify and Publish Contract on Etherscan with Imported OpenZeppelin file

I'm currently building a ERC721 compliant contract and have published the contract here: https://ropsten.etherscan.io/address/0xa513bc0a0d3af384fefcd8bbc1cc0c9763307c39 - I'm now attempting to verify and publish the contract source code The start of…
8
votes
4 answers

How to programmatically validate Tether (TRC20) Wallet Addresses in PHP?

I am having an issue related to validating cryptocurrency wallet addresses, specifically USDT. USDT can be validated either as a BTC or ETH address, depending on the network type. Basically it goes like that: If cryptocurrency is USDT and chain…
GeorgeKaf
  • 599
  • 8
  • 23
7
votes
3 answers

how to get the full token balance of an address BSCSCAN API

I'm working on BSCSCAN API. My goal is to get full balance for a given address as you can see on this page: https://bscscan.com/tokenholdings?a=0x1c82bdb6a93f50a564155ddbcb9cf1b1a244d169 I checked the documentation on BscScan Website, and it seems…
7
votes
1 answer

Going from BIP39 (mnemonic) to BIP32 (public/private keys)

I'm looking to develop some code, that creates Bitcoin private and public keys from a mnemonic. My current understanding of this process is: entropy > nmemonic > seed > public/private keys > public address I am using Trezor's nmemonic library and…
Robert Johnstone
  • 5,431
  • 12
  • 58
  • 88
6
votes
1 answer

How to calculate Uniswap v3 pool's Total Value Locked (TVL) on chain?

I want to calculate the total value locked in a particular pool in Uniswap v3. I can't use the subgraph API for this. I can get current liquidity / in range liquidity using uniswapV3pool contract function: in_range_liquidity =…
AtiqGauri
  • 1,483
  • 13
  • 26
6
votes
3 answers

How to create a tron wallet with nodejs?

I want to create a TRON web wallet but I am a complete noob. My first question is how do I generate addresses offline and with a private master key or with a mnemonic seed. The second question is how can I query the balance of all addresses…
ADLZ
  • 75
  • 1
  • 4
6
votes
2 answers

What are the symbols used in Binance's dapi (coin futures api)?

I am trying to download historical price data of BTC/USD perpetual futures using binance's api for coin futures, specifically, I'd like to use this endpoint. However, I cannot find what 'symbol' I have to specify for BTC/USD. I've tried multiple…
Dedados
  • 281
  • 2
  • 7
6
votes
1 answer

Convert from one crypto to another using Coinbase API

I was trying to create a python program to convert ETH to BTC. I was using the command : client.transfer_money("ETH Account ID ", to="BTC Account ID", amount="0.1", currency=:"ETH") I had obtained the account IDs using the command…
Vignesh Gopakumar
  • 143
  • 1
  • 3
  • 7
6
votes
2 answers

Ethereum Nonce Management. error nonce too low

I use web3 and provider mainnet. I do 2 transactions by contract. first is approve method and another transaction is multitransfer. I store second signature in database. if first transaction is success I send second transaction/. second transaction…
5
votes
1 answer

How to store sentitive data in Chrome extension Manifest V3

I'm working on a Chrome extension built with React that deals with crypto wallets, and I need to preserve their wallet object, so they don't have to decrypt it after every time they close the extension and open it again. So I need to store either…
5
votes
2 answers

Trying to plot multiple indexed prices of cryptocurrencies with different dates

I'm trying to create a nice graph of indexed prices for a few currencies so I can track relative performance from origin for different projects and price-levels. Below is my dummy code. I've tried a lot of things but this is as far as I got... R…
1
2 3
62 63