BetHash Docs
  • About BetHash
  • Fairness
  • AML Policy
  • BetHash Terms of Use
  • FAQ
  • Contact Us
  • basics
    • Bet Limits
    • Activation and Deactivation of Your Linked EOS ID
    • Deposit and Withdrawals
    • Referral System
    • API
  • Hash Token
    • Earn Passive Income Everyday
    • Loyalty Reward Program
    • HPoint
    • HASH Token
    • How to Get Hash Token
  • Promos
    • Signup Bonus
    • Level-Up GiftBox
    • How to Level Up
    • Required EXP for VIP Levels
    • VIP Benefits
  • How to Play
    • Hash Dice
    • Hash Blackjack
    • Hash Lotto
    • Hash Banker Bull
    • Decide a Card by Hash Value
Powered by GitBook
On this page
  • Contracts
  • Usage
  • quick start
  • Memo pattern:
  • Lottery
  • Dice
  • Slot
  • Bulls
  1. basics

API

Contracts

Lottery

Dice

Slot

Blackjack

Bulls

Usage

You can use any wallet to place bet through transferring tokens to above contracts.

quick start

#lottery
cleos -u https://eos.greymass.com transfer youraccount eoshashlotto "1 EOS" "-high-odd-[]-[]-[]-[]-[]-1654954945"

# dice
cleos -u https://eos.greymass.com transfer youraccount eoshashdices "1 EOS" "-under-49"

# slot
cleos -u https://eos.greymass.com transfer youraccount eoshashslots "0.35 EOS" "-1-35"

#bulls
cleos -u https://eos.greymass.com transfer youraccount eoshashbulls "1 EOS" "-1"

Memo pattern:

Lottery

${ref}-${high/low}-${odd/even}-[${0-9}]-[${0-9}]-[${0-9}]-[${0-9}]-[${0-9}]-${timestamp}

Dice

${ref}-${under/over}-${number}

Slot

${ref}-${1/10/100}-${lines}

Bulls

${ref}-${pos}
PreviousReferral SystemNextEarn Passive Income Everyday

Last updated 2 years ago

exmaple on chain:

example on chain:

example on chain:

example on chain:

https://bloks.io/transaction/7461eb09266480e7a70d7aa0f26dde220d962ce29e66ce0e942e04eba9618f83
https://bloks.io/transaction/41ab96bb6f9345ac183e11b2a864224375666736419209b0af8bbfadf5323a3f
https://bloks.io/transaction/f6ddc1eb6f981511818f34269dea91dbe550607d2a069ce5db1ee4f15f507201
https://bloks.io/transaction/c4000e8a13fd1166495e8358722a0d05d23d7afc57a054665fc4c47a7903cec7
https://bloks.io/account/eoshashlotto
https://bloks.io/account/eoshashdices
https://bloks.io/account/eoshashslots
https://bloks.io/account/eoshashpoker
https://bloks.io/account/eoshashbulls