Splinterlands
  • Welcome to Splinterlands
  • Summoner's Spellbook
  • Gameplay
    • Learn to Play
    • Modern & Wild Ranked Battles
    • Types of Cards
      • Summoners
      • Units
    • Building a Collection
    • Drafting a Team
    • Leagues
    • Seasons
    • Collection Power
    • Tournaments
  • Cards
    • Card Rarities
    • Combining Cards
    • Burning Cards
    • Card Stats
    • Elements
    • Booster Packs
      • Purchasing Booster Packs
      • Opening Booster Packs
      • Transferring Booster Packs
      • Booster Pack Potions
    • Sets/Editions
      • Alpha
        • Alpha Core
        • Alpha Promo
      • Beta
        • Beta Core
        • Beta Promo
        • Beta Reward
        • Essence Orb
      • Untamed
        • Untamed Core
        • Untamed Reward
        • Untamed Promo
        • ΛZMΛRÉ Dice
      • Chaos Legion
        • Chaos Legion Core
        • Chaos Legion Reward
        • Chaos Legion Promo
        • Runicore
        • Riftwatchers
      • Rebellion
        • Rebellion Core
        • Rebellion Promo
        • Rebellion Reward
    • Gold Foil Cards
    • Card Supply
    • Card Market
      • Buying Cards
      • Selling Cards
      • Using Bids on Peakmonsters
    • Sending Cards to Other Players
    • Rentals & Delegations
      • The Card Rental System
      • Delegating Cards
      • Peakmonsters
        • Leasing Cards via Peakmonsters
        • Renting Cards via Peakmonsters
    • External Card Markets
    • Card Cooldown
  • Rewards
    • Ranked Battle Rewards
    • Reward Shares (R-Shares)
    • Glint Rewards Shop
    • End of Season Rewards
    • Loot Chests
    • Leaderboard Rewards
    • League Tier Advancement Chests
  • Guilds
    • Buildings
      • Guild Hall
      • Focus Lodge
      • Arena
      • Barracks
      • Guild Store
    • Crowns
    • Merits
    • Brawls
      • SPS Rewards
    • Gladiator Cards
  • Dark Energy Crystals (DEC)
    • DEC Markets
      • In-Game
      • Hive Engine
      • Uniswap
      • TribalDEX
      • PancakeSwap
    • Transferring DEC
    • Providing Liquidity (DEC)
      • TribalDEX Liquidity Pools (DEC)
  • Splinterlands Credits
    • Purchasing credits with Coinbase Commerce
  • Splintershards (SPS)
    • Staking Splintershards
    • Moving Splintershards
    • Exchanges
    • Providing Liquidity (SPS)
      • TribalDEX Diesel Pools (SPS)
    • SPS Reward Delegation
    • Earning SPS
  • Vouchers
    • Transfering Vouchers
    • Trading Vouchers
  • Rebellion Conflicts
  • Land
    • Land Phase .5
    • Land Phase 1
    • Land phase 1.5
  • Platform
    • Release Notes
      • 2025
      • 2024
      • 2023
      • 2022
      • 2021
    • Developers
    • Hive Blockchain
      • Account & Keys
      • Hive Keychain
      • Hive Dapps
      • HIVE Power
      • Exchanges for HIVE
      • Earning HIVE
      • Creating Content
    • Other Blockchains
      • Linking Wallets
      • Worldwide Asset Exchange (WAX)
        • Sending from WAX to Splinterlands
          • Sending Packs from WAX
          • Sending Cards from WAX
        • Sending from Splinterlands to WAX
          • Sending Cards to WAX
          • Sending Packs to WAX
          • Sending Land Plot Claims to WAX
        • Splinterlands on Atomic Hub
      • Ethereum (ETH)
        • Adding DEC to Metamask
        • ETH Network Fees (Gas)
        • Sending Cards to Ethereum
        • Transferring DEC to Ethereum
        • Uniswap DEX
          • Uniswap Liquidity Pools
        • Depositing Assets from Ethereum
      • Binance Smart Chain (BSC)
        • What is Binance Smart Chain?
        • Setting up BSC on Metamask
  • Community
    • Public Events
      • Public Calendar
      • Town Hall
    • Communities
      • Discord
      • Telegram
    • Community Built Resources
    • Support
  • Company
    • Splinterlands Founders
Powered by GitBook
On this page

Was this helpful?

  1. Platform

Developers

Documentation to help out third party developers.

This is a (perpetual) work in progress so please mention if something feels out of date!

Hive Transactions

Below is the documentation for various blockchain payloads that Splinterlands processes and what their payload means.

sm_update_rental_price

This call is used to update the price of all the cards currently listed on the market, or rented out. Rented out cards are automatically cancelled and their price is updated to the price specified when they are relisted on the market when the card is cancelled during the next rental payment processing. The payload in the custom JSON field is of the following type (remember that the field must be a stringified version of this payload):

type payload = {
    items: [string, number][], // [['<market_id>', <new_price>]]
    player?: string,           // '<username>'
};

Where:

  • items is an array of tuples which contain the market_id of the item you wish to update and the new price you wish to set for that item.

  • player is an optional field, which you can set to the name of another player if that player has given you rental authority.

Previous2021NextHive Blockchain

Last updated 3 years ago

Was this helpful?