Bitcoin Forum
April 25, 2024, 01:40:41 PM
Welcome,
Guest
. Please
login
or
register
.
News
: Latest Bitcoin Core release:
27.0
[
Torrent
]
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Alternate cryptocurrencies
>
Altcoin Discussion
>
[Nxt] API of Nxt
Pages:
«
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[
16
]
17
18
19
20
»
All
« previous topic
next topic »
Print
Author
Topic: [Nxt] API of Nxt (Read 37217 times)
alpha_one_x86
Sr. Member
Offline
Activity: 281
Merit: 250
Developer of Ultracopier and Supercopier
Re: [Nxt] API of Nxt
January 31, 2014, 01:11:58 PM
#301
But I have too: <param-value>127.0.0.1; localhost; 0:0:0:0:0:0:0:1;</param-value>
Replace by * will work, but it's not correct. I use 127.0.0.1, and it's into the list
And what about?:
Quote from: alpha_one_x86 on January 31, 2014, 12:10:52 PM
wget -O - -q '
http://localhost:7874/nxt?requestType=unlockAccount&secretPhrase=toto
'
{"errorCode":1,"errorDescription":"Incorrect request"}
Developer of
Ultracopier
/
Supercopier
and of the game
CatchChallenger
sold in crypto curency. Include on the nextcoin market.
1714052441
Hero Member
Offline
Posts: 1714052441
Ignore
1714052441
1714052441
#2
1714052441
Report to moderator
1714052441
Hero Member
Offline
Posts: 1714052441
Ignore
1714052441
1714052441
#2
1714052441
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714052441
Hero Member
Offline
Posts: 1714052441
Ignore
1714052441
1714052441
#2
1714052441
Report to moderator
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1009
Newbie
Re: [Nxt] API of Nxt
January 31, 2014, 01:20:23 PM
#302
Quote from: alpha_one_x86 on January 31, 2014, 01:11:58 PM
And what about?:
Quote from: alpha_one_x86 on January 31, 2014, 12:10:52 PM
wget -O - -q '
http://localhost:7874/nxt?requestType=unlockAccount&secretPhrase=toto
'
{"errorCode":1,"errorDescription":"Incorrect request"}
There is no unlockAccount API call. It's part of web interface.
alpha_one_x86
Sr. Member
Offline
Activity: 281
Merit: 250
Developer of Ultracopier and Supercopier
Re: [Nxt] API of Nxt
January 31, 2014, 01:32:39 PM
#303
Quote from: alpha_one_x86 on January 31, 2014, 01:11:58 PM
But I have too: <param-value>127.0.0.1; localhost; 0:0:0:0:0:0:0:1;</param-value>
Replace by * will work, but it's not correct. I use 127.0.0.1, and it's into the list
Developer of
Ultracopier
/
Supercopier
and of the game
CatchChallenger
sold in crypto curency. Include on the nextcoin market.
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1009
Newbie
Re: [Nxt] API of Nxt
January 31, 2014, 01:38:52 PM
#304
Quote from: alpha_one_x86 on January 31, 2014, 01:32:39 PM
Quote from: alpha_one_x86 on January 31, 2014, 01:11:58 PM
But I have too: <param-value>127.0.0.1; localhost; 0:0:0:0:0:0:0:1;</param-value>
Replace by * will work, but it's not correct. I use 127.0.0.1, and it's into the list
What is returned by
http://yourserver:7874/nxt?requestType=getMyInfo
?
alpha_one_x86
Sr. Member
Offline
Activity: 281
Merit: 250
Developer of Ultracopier and Supercopier
Re: [Nxt] API of Nxt
January 31, 2014, 02:16:07 PM
#305
You are in right, it's what I need. My Ip is 127.X.X.X not 127.0.0.1.
I can open on 2 client my account to forging? Because my computer have internet problem, but on my server I can forge.
Developer of
Ultracopier
/
Supercopier
and of the game
CatchChallenger
sold in crypto curency. Include on the nextcoin market.
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1009
Newbie
Re: [Nxt] API of Nxt
January 31, 2014, 02:22:28 PM
#306
Quote from: alpha_one_x86 on January 31, 2014, 02:16:07 PM
I can open on 2 client my account to forging? Because my computer have internet problem, but on my server I can forge.
U can.
opticalcarrier
Full Member
Offline
Activity: 238
Merit: 100
Re: [Nxt] API of Nxt
January 31, 2014, 03:21:30 PM
#307
whoa....
where can I get more info on this '&requestType=unlockAccount' thing. I must have missed something. Where is this request type and all its options documented at?
GCInc.
Hero Member
Offline
Activity: 566
Merit: 500
Re: [Nxt] API of Nxt
February 01, 2014, 03:25:48 PM
#308
Are transactions rebroadcast automatically in regular intervals in the network once they're sent their way? Source account had insufficient funds while broadcasting last night, but 16 hours later as it was funded, the pending transaction left by itself right after without any interaction with the NXT client.
-->
DGEX.com
NXT
100% POS cryptocurrency automated exchange
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1009
Newbie
Re: [Nxt] API of Nxt
February 01, 2014, 04:14:15 PM
#309
Quote from: GCInc. on February 01, 2014, 03:25:48 PM
Are transactions rebroadcast automatically in regular intervals in the network once they're sent their way? Source account had insufficient funds while broadcasting last night, but 16 hours later as it was funded, the pending transaction left by itself right after without any interaction with the NXT client.
Yes, now transactions r rebroadcasted.
opticalcarrier
Full Member
Offline
Activity: 238
Merit: 100
Re: [Nxt] API of Nxt
February 03, 2014, 10:05:36 PM
#310
can we get explicit info on the getPeer API?
the downloadedVolume: is that figure the amount other peers have downloaded from the node returning the data, or is it the amount that peer has downloaded from other peers?
And is it bytes or packets or what?
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1009
Newbie
Re: [Nxt] API of Nxt
February 03, 2014, 10:24:35 PM
#311
Quote from: opticalcarrier on February 03, 2014, 10:05:36 PM
can we get explicit info on the getPeer API?
the downloadedVolume: is that figure the amount other peers have downloaded from the node returning the data, or is it the amount that peer has downloaded from other peers?
And is it bytes or packets or what?
It's bytes. Downloaded by the node from that one peer.
opticalcarrier
Full Member
Offline
Activity: 238
Merit: 100
Re: [Nxt] API of Nxt
February 04, 2014, 01:30:43 AM
#312
on getState, can someone explain more detail of the following 3? The Wiki page is very basic.
cumulativeDifficulty:
I dont understand cumulative difficulty in NXT at all (or in bitcoin; I should educate myself here) I expect what I need here is a very long explanation, so perhaps you could recommend a good site that can break it down from a beginner level?
numberOfPeers
The Wiki says "NUMPEERS is the number of peers on the network" but is this the node's best guess of total number of all active peers across the entire network? Even including peers that are maybe 10 hops away?
totalEffectiveBalance
Is this the total amount of NXT participating in the forging process?
btc2nxt
Full Member
Offline
Activity: 236
Merit: 100
Re: [Nxt] API of Nxt
February 05, 2014, 07:44:45 AM
Last edit: February 05, 2014, 08:26:00 AM by btc2nxt
#313
Quote from: Come-from-Beyond on February 04, 2014, 02:16:59 PM
@ AE client devs:
Do u need any other API calls related to Asset Exchange?
Get current account order IDs
Obtain current order IDs for bid or ask orders for a specific account, optionally filtered by an an assetID. Implemented in version 0.5.9.
Request
http://localhost:7874/nxt?
requestType=GET_BID_OR_ASK& account=ACCOUNT& asset=ASSETID
-------------
1. can we get order by asssetid, need not contain account no, because i want to know who bid/ask my asset
2. there are only 12 assets now , if 10k or more, it is difficult find a asset, maybe a
asset type, brand are needed when isssue them, for example: crypto coin, nxt;crypto,doge
car,honda;computer, lenovo
this is test picture. i only get a bid order, there is not any ask orders . i tried doing askorder but failed.
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1009
Newbie
Re: [Nxt] API of Nxt
February 05, 2014, 11:34:16 AM
#314
Quote from: btc2nxt on February 05, 2014, 07:44:45 AM
Quote from: Come-from-Beyond on February 04, 2014, 02:16:59 PM
@ AE client devs:
Do u need any other API calls related to Asset Exchange?
Get current account order IDs
Obtain current order IDs for bid or ask orders for a specific account, optionally filtered by an an assetID. Implemented in version 0.5.9.
Request
http://localhost:7874/nxt?
requestType=GET_BID_OR_ASK& account=ACCOUNT& asset=ASSETID
-------------
1. can we get order by asssetid, need not contain account no, because i want to know who bid/ask my asset
2. there are only 12 assets now , if 10k or more, it is difficult find a asset, maybe a
asset type, brand are needed when isssue them, for example: crypto coin, nxt;crypto,doge
car,honda;computer, lenovo
this is test picture. i only get a bid order, there is not any ask orders . i tried doing askorder but failed.
https://i.imgur.com/WLITgh2.jpg
Have u taken a look at
getAccountCurrentAskOrderIds
and
getAccountCurrentBidOrderIds
?
btc2nxt
Full Member
Offline
Activity: 236
Merit: 100
Re: [Nxt] API of Nxt
February 06, 2014, 07:58:19 AM
#315
1.
http://holms.cloudapp.net:6874/nxt?requestType=getAccountCurrentBidOrderIds&asset=14269709746849295412
{"errorCode":3,"errorDescription":"\"account\" not specified"}
can't get order from getAccountCurrentBidOrderIds/ask api, with only assetid provided
2. wiki has a mistake in api
Get order IDs
http://localhost:7874/nxt?
requestType=GET_BID_OR_ASK
http://holms.cloudapp.net:6874/nxt?requestType=getAskOrderIds
{"errorCode":3,"errorDescription":"\"asset\" not specified"}
http://holms.cloudapp.net:6874/nxt?requestType=getAskOrderIds
&asset=14269709746849295412
{"errorCode":3,"errorDescription":"\"timestamp\" not specified"}
http://holms.cloudapp.net:6874/nxt?requestType=getAskOrderIds&asset=14269709746849295412×tamp=0
{"askOrderIds":[]}
http://holms.cloudapp.net:6874/nxt?requestType=getBidOrderIds&asset=14269709746849295412×tamp=0
{"bidOrderIds":["17077867597681716581","16241672625542691626"]}
corrett api is
requestType=getBidOrderIds&asset=×tamp=
from this api ,can get orderids by only asset, not including account
btw, to cfb: how to answer the bid/ask order , then finish orders?
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1009
Newbie
Re: [Nxt] API of Nxt
February 06, 2014, 08:56:54 AM
#316
Quote from: btc2nxt on February 06, 2014, 07:58:19 AM
1.
http://holms.cloudapp.net:6874/nxt?requestType=getAccountCurrentBidOrderIds&asset=14269709746849295412
{"errorCode":3,"errorDescription":"\"account\" not specified"}
can't get order from getAccountCurrentBidOrderIds/ask api, with only assetid provided
This call returns orders of a particular account, u r supposed to provide account id.
Quote from: btc2nxt on February 06, 2014, 07:58:19 AM
btw, to cfb: how to answer the bid/ask order , then finish orders?
Just place an opposite order, Nxt will match them automatically.
marcus03
Full Member
Offline
Activity: 224
Merit: 100
Re: [Nxt] API of Nxt
February 09, 2014, 06:45:37 PM
#317
Quick question while getting familiar with AE API calls:
Besided showing orders, there is no way to get the actual trades that happened, right? Because I think we need a way to show the current price of an asset, don't we?
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1009
Newbie
Re: [Nxt] API of Nxt
February 09, 2014, 06:56:01 PM
#318
Quote from: marcus03 on February 09, 2014, 06:45:37 PM
Quick question while getting familiar with AE API calls:
Besided showing orders, there is no way to get the actual trades that happened, right? Because I think we need a way to show the current price of an asset, don't we?
Use
getTrades
marcus03
Full Member
Offline
Activity: 224
Merit: 100
Re: [Nxt] API of Nxt
February 09, 2014, 07:24:45 PM
#319
Quote from: Come-from-Beyond on February 09, 2014, 06:56:01 PM
Quote from: marcus03 on February 09, 2014, 06:45:37 PM
Quick question while getting familiar with AE API calls:
Besided showing orders, there is no way to get the actual trades that happened, right? Because I think we need a way to show the current price of an asset, don't we?
Use
getTrades
That isn't in the Wiki. I'll peek into the decompiled source to get all calls.
EDIT: Oh no... of course I can't... It's only in testnet, right? What other calls are in testnet that are not in production?
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1009
Newbie
Re: [Nxt] API of Nxt
February 09, 2014, 07:26:45 PM
#320
Quote from: marcus03 on February 09, 2014, 07:24:45 PM
Quote from: Come-from-Beyond on February 09, 2014, 06:56:01 PM
Quote from: marcus03 on February 09, 2014, 06:45:37 PM
Quick question while getting familiar with AE API calls:
Besided showing orders, there is no way to get the actual trades that happened, right? Because I think we need a way to show the current price of an asset, don't we?
Use
getTrades
That isn't in the Wiki. I'll peek into the decompiled source to get all calls.
Use
asset
,
firstIndex
and
lastIndex
parameters. Indices set range of trades in the history. If omitted 0 and 2^32-1 default values r used.
Pages:
«
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[
16
]
17
18
19
20
»
All
Print
Bitcoin Forum
>
Alternate cryptocurrencies
>
Altcoin Discussion
>
[Nxt] API of Nxt
« previous topic
next topic »
Jump to:
Please select a destination:
-----------------------------
Bitcoin
-----------------------------
=> Bitcoin Discussion
===> Legal
===> Press
===> Meetups
===> Important Announcements
=> Development & Technical Discussion
===> Wallet software
=====> Electrum
=====> Bitcoin Wallet for Android
=====> BitcoinJ
=====> Armory
=====> Mycelium
=====> Hardware wallets
=> Mining
===> Mining support
===> Pools
===> Mining software (miners)
===> Hardware
=====> Group buys
===> Mining speculation
=> Bitcoin Technical Support
=> Project Development
-----------------------------
Economy
-----------------------------
=> Economics
===> Speculation
=> Marketplace
===> Goods
=====> Computer hardware
=====> Digital goods
=======> Invites & Accounts
=====> Collectibles
===> Services
===> Currency exchange
===> Gambling
=====> Games and rounds
=====> Investor-based games
=====> Gambling discussion
===> Lending
=====> Long-term offers
===> Securities
===> Auctions
===> Service Announcements
=====> Micro Earnings
===> Service Discussion
=====> Web Wallets
=====> Exchanges
=> Trading Discussion
===> Scam Accusations
===> Reputation
-----------------------------
Other
-----------------------------
=> Meta
===> New forum software
===> Bitcoin Wiki
=> Politics & Society
=> Beginners & Help
=> Off-topic
=> Serious discussion
===> Ivory Tower
=> Archival
===> Корзина
===> CPU/GPU Bitcoin mining hardware
===> Chinese students
===> Obsolete (buying)
===> Obsolete (selling)
===> MultiBit
-----------------------------
Alternate cryptocurrencies
-----------------------------
=> Altcoin Discussion
=> Announcements (Altcoins)
===> Tokens (Altcoins)
=> Mining (Altcoins)
===> Pools (Altcoins)
=> Marketplace (Altcoins)
===> Service Announcements (Altcoins)
===> Service Discussion (Altcoins)
===> Bounties (Altcoins)
=> Speculation (Altcoins)
-----------------------------
Local
-----------------------------
=> العربية (Arabic)
===> العملات البديلة (Altcoins)
=====> النقاشات
===> إستفسارات و أسئلة المبتدئين
===> التعدين
===> النقاشات الأخرى
===> منصات التبادل
=> Bahasa Indonesia (Indonesian)
===> Marketplace (Bahasa Indonesia)
===> Mining (Bahasa Indonesia)
===> Altcoins (Bahasa Indonesia)
===> Trading dan Spekulasi
===> Ekonomi, Politik, dan Budaya
===> Topik Lainnya
=> Español (Spanish)
===> Mercado y Economía
=====> Servicios
=====> Trading y especulación
===> Hardware y Minería
===> Esquina Libre
===> Mercadillo
=====> Mexico
=====> Argentina
=====> España
=====> Centroamerica y Caribe
===> Primeros pasos y ayuda
===> Altcoins (criptomonedas alternativas)
=====> Minería de altcoins
=====> Servicios
=====> Tokens (Español)
=> 中文 (Chinese)
===> 跳蚤市场
===> 山寨币
===> 媒体
===> 挖矿
===> 离题万里
=> Hrvatski (Croatian)
===> Trgovina
===> Altcoins (Hrvatski)
=====> Announcements (Hrvatski)
===> Off-topic (Hrvatski)
=> Deutsch (German)
===> Anfänger und Hilfe
===> Mining (Deutsch)
===> Trading und Spekulation
===> Projektentwicklung
===> Off-Topic (Deutsch)
===> Treffen
===> Presse
===> Altcoins (Deutsch)
=====> Announcements (Deutsch)
===> Marktplatz
=====> Auktionen
=====> Suche
=====> Biete
=> Ελληνικά (Greek)
===> Αγορά
===> Mining Discussion (Ελληνικά)
===> Altcoins (Ελληνικά)
=====> Altcoin Announcements (Ελληνικά)
=====> Altcoin Mining (Ελληνικά)
=> עברית (Hebrew)
=> Français
===> Actualité et News
===> Débutants
===> Discussions générales et utilisation du Bitcoin
===> Mining et Hardware
===> Économie et spéculation
===> Place de marché
=====> Échanges
=====> Produits et services
=====> Petites annonces
===> Le Bitcoin et la loi
===> Wiki, documentation et traduction
===> Développement et technique
===> Vos sites et projets
===> Hors-sujet
===> Altcoins (Français)
=====> Annonces
=> India
===> Mining (India)
===> Marketplace (India)
===> Regional Languages (India)
===> Press & News from India
===> Alt Coins (India)
===> Buyer/ Seller Reputations (India)
===> Off-Topic (India)
=> Italiano (Italian)
===> Guide (Italiano)
===> Progetti
===> Discussioni avanzate e sviluppo
===> Trading, analisi e speculazione
===> Mercato
=====> Mercato valute
=====> Beni
=====> Servizi
=====> Esercizi commerciali
=====> Hardware/Mining (Italiano)
=====> Gambling (Italiano)
===> Accuse scam/truffe
===> Mining (Italiano)
===> Alt-Currencies (Italiano)
=====> Annunci
===> Raduni/Meeting (Italiano)
===> Crittografia e decentralizzazione
===> Off-Topic (Italiano)
=> 日本語 (Japanese)
===> アルトコイン
=> Nederlands (Dutch)
===> Markt
===> Gokken/lotterijen
===> Mining (Nederlands)
===> Beurzen
===> Alt Coins (Nederlands)
===> Off-topic (Nederlands)
===> Meetings (Nederlands)
=> Nigeria (Naija)
=> 한국어 (Korean)
===> 대체코인 Alt Coins (한국어)
=> Pilipinas
===> Altcoins (Pilipinas)
=====> Altcoin Announcements (Pilipinas)
===> Pamilihan
===> Others (Pilipinas)
=> Polski
===> Tablica ogłoszeń
===> Alternatywne kryptowaluty
=====> Nowe kryptowaluty i tokeny
=====> Tablica ogłoszeń (altcoiny)
=> Português (Portuguese)
===> Primeiros Passos (Iniciantes)
===> Economia & Mercado
===> Mineração em Geral
===> Desenvolvimento & Discussões Técnicas
===> Criptomoedas Alternativas
===> Brasil
===> Portugal
=> Русский (Russian)
===> Новички
===> Бизнес
=====> Барахолка
=====> Обменники
===> Идеи
===> Кодеры
===> Майнеры
===> Политика
===> Трейдеры
===> Альтернативные криптовалюты
=====> Токены
=====> Бayнти и aиpдpoпы
===> Хайпы
===> Работа
===> Разное
===> Oбcyждeниe Bitcoin
=====> Новости
=====> Юристы
=> Română (Romanian)
===> Anunturi importante
===> Offtopic
===> Market
=====> Discutii Servicii
===> Minerit
===> Tutoriale
===> Bine ai venit!
===> Presa
===> Altcoins (Monede Alternative)
=====> Anunturi Monede Alternative
=> Skandinavisk
=> Türkçe (Turkish)
===> Bitcoin Haberleri
===> Pazar Alanı
===> Madencilik
===> Ekonomi
===> Servisler
=====> Fonlar
===> Proje Geliştirme
===> Alternatif Kripto-Paralar
=====> Madencilik (Alternatif Kripto-Paralar)
=====> Duyurular (Alternatif Kripto-Paralar)
===> Konu Dışı
===> Yeni Başlayanlar & Yardım
===> Buluşmalar
=> Other languages/locations
Loading...