Author Topic: Developer delegate: dev.bitsharesblocks  (Read 105149 times)

0 Members and 1 Guest are viewing this topic.

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.

I'll see if I can get this working.

yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Can i emphasize this feature request a little ..

I'd love to put the payouts of the charity delegates into a publicly readable address derived from an active key

I'd like this to be shown in the explorer:
Code: [Select]
blockchain_list_address_transactions <address>

as well as
Code: [Select]
blockchain_list_market_transactions <block_number>

 :D :D :D :D :D

Which addresses should this be used with? I admit to a slight confusion between the types of keys or ids etc available..

PS. Slates are about ready to go on the site, I just need to test everything a little more since it's part of a rewrite of the delegate page.

WOuld there be a way to aggregate all of the median price feeds and give them via one call? I need it for my price mechanism on the websites which integrate bitassets... id rather not make individual calls on the RPC if I have to.. but whats the best way to do this?

You can use https://api.bitsharesblocks.com/v2/assets

It's got some more info you don't need but it's not too heavy, and has all the median feeds and number of valid feeds.

https://api.bitsharesblocks.com/v2/assets

output doesn't validate in jsonlint.com... There is a " at the end of the data and I see there is a leading ")]}',\n infront of the data... why? Also your escaping string literals, why? None of this checks out for json encoding... thanks.

I would imagine you would get the data and decode it in php like json_decode()...
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline svk

Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

You can link using transactions ids now, just add ?trxid=, like this:

http://bitsharesblocks.com/blocks/block?trxid=820a3852e5624c161e034945417fe426eadebc5d

Short form transaction ids work as well.
Worker: dev.bitsharesblocks

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
@svk: you should at least go through all active keys ... optionally the owner key .. if you go to my recent Howto in the bts delegates subforum you can find a description about what the keys are

Offline svk

Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.

I'll see if I can get this working.

yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Can i emphasize this feature request a little ..

I'd love to put the payouts of the charity delegates into a publicly readable address derived from an active key

I'd like this to be shown in the explorer:
Code: [Select]
blockchain_list_address_transactions <address>

as well as
Code: [Select]
blockchain_list_market_transactions <block_number>

 :D :D :D :D :D

Which addresses should this be used with? I admit to a slight confusion between the types of keys or ids etc available..

PS. Slates are about ready to go on the site, I just need to test everything a little more since it's part of a rewrite of the delegate page.

WOuld there be a way to aggregate all of the median price feeds and give them via one call? I need it for my price mechanism on the websites which integrate bitassets... id rather not make individual calls on the RPC if I have to.. but whats the best way to do this?

You can use https://api.bitsharesblocks.com/v2/assets

It's got some more info you don't need but it's not too heavy, and has all the median feeds and number of valid feeds.
Worker: dev.bitsharesblocks

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
WOuld there be a way to aggregate all of the median price feeds and give them via one call? I need it for my price mechanism on the websites which integrate bitassets... id rather not make individual calls on the RPC if I have to.. but whats the best way to do this?
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.

Do you mean this?
Code: [Select]
blockchain_get_transaction <transaction_id_prefix> [exact]                                            Get detailed information about an in-wallet transaction

Or an api call to bitsharesblocks.com? It could be:
Code: [Select]
https://api.bitsharesblocks.com/v1/blocksbytrx/<trx_id>?callback=angular.callbacks._7
It will return a block id.

Thanks for helping to explain.

Yes, something like this. Basically I like to call it and get the info without having a need to run a blockchain.
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.

Do you mean this?
Code: [Select]
blockchain_get_transaction <transaction_id_prefix> [exact]                                            Get detailed information about an in-wallet transaction

Or an api call to bitsharesblocks.com? It could be:
Code: [Select]
https://api.bitsharesblocks.com/v1/blocksbytrx/<trx_id>?callback=angular.callbacks._7
It will return a block id.
« Last Edit: February 19, 2015, 09:32:46 pm by abit »
BitShares committee member: abit
BitShares witness: in.abit

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Can i emphasize this feature request a little ..

I'd love to put the payouts of the charity delegates into a publicly readable address derived from an active key

I'd like this to be shown in the explorer:
Code: [Select]
blockchain_list_address_transactions <address>

as well as
Code: [Select]
blockchain_list_market_transactions <block_number>

 :D :D :D :D :D
BitShares committee member: abit
BitShares witness: in.abit

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Can i emphasize this feature request a little ..

I'd love to put the payouts of the charity delegates into a publicly readable address derived from an active key

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
Little (long term) inspiration: http://blockscan.com/assetInfo/LTBCOIN has Forum / social media integration.

With Bitshares this could mean: Blockexplorer + Forum + Bitshares login + Bitshares reputation system all integrated.

Well we have social login, and we will add profile information to that so thus social media integration... the reputation system is probably something to build onto pof that.. but possible I think.
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
Little (long term) inspiration: http://blockscan.com/assetInfo/LTBCOIN has Forum / social media integration.

With Bitshares this could mean: Blockexplorer + Forum + Bitshares login + Bitshares reputation system all integrated.

Offline svk

Sorry about that, I've been away all day skiing. It was simply the API server crashing due to a badly handled call that I've now fixed, I'm gonna start working on making the api foolproof tomorrow so this doesn't happen again.

@emski I'll open-source the back-end too so with that you could run a mirror

Worker: dev.bitsharesblocks

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
Yep... Frustrating.

@svk
Is there a chance to run a mirror of bitsharesblocks ?

I could set it up on my servers and pull updates from you.
I could sync it to one of the seed nodes.

@svk What do you think about this?

Offline matt608

  • Hero Member
  • *****
  • Posts: 878
    • View Profile
Quote
no data on https://bitsharesblocks.com/ right now
please fix ASAP since it is very fustrating to watch when at the same time BTER  is not working(!)...
Same problem here!

Me too.

Offline kaibakker

Quote
no data on https://bitsharesblocks.com/ right now
please fix ASAP since it is very fustrating to watch when at the same time BTER  is not working(!)...
Same problem here!