Hivejs: How to transfer HSBI and Splinterland-Cards? Wie transfeiert man HSBI und Splinterland-Karten? #10

EN

In my last post I showed how to transfer Hive, HBD, Ecency points and Hive engine tokens.
Today I show how to transfer HSBI and Splinterland cards using Hivejs.

This is quite simple if you know how. Especially the transfer of HSBI is quite simple. Actually you just transfer Hive to @steembasicincome (watch out for the e at the end!) with an appropriate comment.

HSBI

If you want to give HSBI to someone, you only have to send Hive to @steembasicincome (important with e at the end!) and add the username as comment, it doesn't matter with or without @. You can give HSBI to several users at the same time by separating the usernames with a comma. It is only important that the sent hive is equal or a multiple of the usernames. So if you try to send to 3 usernames you have to send 3,6,9 etc. Hive.

The transfer is done as described in the last post using the hive.broadcast.transfer function.

If you haven't read the last post about this, you should do it. There the individual parameters are described by me.

Send splinterland maps

To send splinterland maps we need the function hive.broadcast.customJson again, as with the hive engine tokens and the ecency points.

  • id "sm_gift_cards" must be passed as the ID.
  • json the JSON object must contain to and cards. Cards are the ids of the cards as an array.

It is important that the cards are not lent or for sale. They cannot be transferred. I will make an extra post about this, the easiest way to find your cards and their ids is here:
peakmonsters.com
There is also the possibility to send several cards at once to one user.

Just log in and go to "My Cards".

So you can send multiple cards to one user with one call. How much is the maximum I don't know. If I find out, I will add it.

You can find the example here, use this only locally, never enter your private active key on jsfiddle!

If you have any questions, feel free to leave a comment. It's best to mention @mein-senf-dazu, so I can see it.

By the way, if you don't know @steembasicincome yet, you should check it out.

Translated with www.DeepL.com/Translator (free version)

DE

In meinem letzten Beitrag habe ich gezeigt, wie man Hive, HBD, Ecencypunkte und Hive-Engine Token transferiert.
Heute zeige ich, wie man HSBI und Splinterland-Karten mithilfe von Hivejs transferiert.

Dies ist auch an sich recht simpel, wenn man weiß wie. Gerade der Transfer von HSBI ist ganz simpel. Wobei eigentlich transferiert man ja nur Hive an @steembasicincome (Achtung mit e am Ende!) mit einem entsprechenden Kommentar.

HSBI

Möchte man jemanden HSBI schenken, so muss man nur an @steembasicincome (wichtig mit e am Ende!) Hive senden und den Usernamen als Kommentar angeben, dabei ist es egal ob mit oder ohne @. Man kann mehreren Usern gleichzeitig HSBI schenken, indem man die Usernamen durch ein Komma getrennt angibt. Wichtig ist nur, dass die gesendeten Hive gleich oder ein Vielfaches der Usernamen ist. Also bei 3 Usernamen müssen es 3,6,9 usw. Hive sein.

Der Transfer erfolgt wie schon im letzten Beitrag beschrieben über die Funktion hive.broadcast.transfer.

Falls ihr den letzten Beitrag dazu nicht gelesen habt, solltet ihr das machen. Dort werden die einzelnen Parameter von mir beschrieben.

Splinterlandskarten versenden

Um Splinterlandskarten zu versenden, benötigen wir wieder die Funktion hive.broadcast.customJson, wie auch bei den Hive Engine Token und den Ecency Punkten.

  • id als ID muss "sm_gift_cards" übergeben werden.
  • json das JSON Object muss to und cards enthalten. Cards sind die Ids der Karten als Array.

Wichtig ist, dass die Karten nicht verliehen oder zum Verkauf stehen. Diese können nicht transferiert werden. Ich werde dazu noch einen extra Beitrag machen, am einfachsten könnt ihr eure Karten und deren Ids hier finden:
peakmonsters.com
Dort gibt es auch die Möglichkeit mehrere Karten auf einmal an einen Nutzer zu senden.

Einfach einloggen und auf "My Cards" gehen.

Ihr könnt somit mehrere Karten an einen Benutzer mit einem Aufruf versenden. Wie viel das Maximum ist, ist mir nicht bekannt. Falls ich das herausfinde, werde ich das nachtragen.

Das Beispiel findet ihr hier, nutzt diesen nur Lokal, gebt nie euren privaten Aktiv-Schlüssel auf jsfiddle ein!

Wer Fragen hat, kann gern ein Kommentar da lassen. Am besten @mein-senf-dazu erwähnen, damit ich es mitbekomme.

Wer übrigens @steembasicincome noch nicht kennt, der sollte sich das mal angucken.

H2
H3
H4
3 columns
2 columns
1 column
1 Comment
Ecency