ambrus-api
  1. withoutkey
ambrus-api
  • inner
    • create_merchant
      POST
    • get_token
      GET
    • get_merchant_info
      GET
    • save_file
      POST
    • savemerchantgame
      POST
    • query merchant game
      GET
    • gamelist
      GET
    • merchantStatus
      GET
    • game_detail
      GET
    • query_new_merchant
      GET
    • update_single_game
      POST
    • gameRank
      GET
    • /merchant/games/history/rank
      GET
    • /merchant/games/history/test
      POST
    • addWin
      POST
    • sign_code
      POST
    • get_sign
      GET
    • suiwallet_register
      POST
    • suiwallet/token
      GET
    • ludus_pay_query
      GET
    • ludus_reward
      POST
    • ludus/signature
      GET
  • outer
    • getNonce
    • login_zk
  • withoutkey
    • query social bind
      GET
    • merchant_login
      POST
    • save_params
      POST
    • querybysocialid
      GET
    • query_zk_info
      GET
    • query_zk_info Copy
      GET
  • sui
    • query_sui_events
    • submitgamescore
    • gameCode
    • rewrad_history
  • oracle
  • badmition
  • third_pay
    • app-verify-transaction
    • app_asdn-v2-callback
    • app_trigger-test-notification
    • google_callback
  • pay
    • user/project
    • rechargeOrder
    • user/project/level
    • user/deposit
    • getDepositaddress
    • user/orderComplete
    • game/pay/coins
    • game/tickets
    • minus_tickets
    • remainBalance
    • createOrder
    • customGoods
    • traceKey
    • customGoods_query
  • openloot
    • authorize2
    • clientToken
    • clientToken_serve
    • premium-currencies-balance
    • ambrus_openloot_login
    • getOpenlootUser
    • openloot/adopt_pet
    • openloot/pet_query
    • feed_pet
    • openloot/currencies_list
    • balances_item_balance
    • authorize2-chengdu
    • clientToken_serve-chengdu
    • clientToken-chengdu
    • openloot/accept
    • userInfo
    • openloot/tokens
    • openloot_rank
    • openloot_feed_log
  • warcast
    • auth
    • heroes_list
    • bind
    • unbind
    • nft_detail
    • upgrade
  1. withoutkey

save_params

Developing
POST
/account/login/zklogin/params

Request

Body Params application/json

Example
{
    "nonce": "oB1wuhLxd2eIvwJqEep7WeblUwk",
    "params":{"originPublicKey":{"data":{"0":192,"1":212,"2":32,"3":219,"4":83,"5":91,"6":179,"7":174,"8":38,"9":127,"10":86,"11":49,"12":60,"13":209,"14":239,"15":100,"16":227,"17":89,"18":229,"19":103,"20":53,"21":7,"22":0,"23":195,"24":141,"25":39,"26":178,"27":58,"28":241,"29":43,"30":86,"31":8}},"publicKey":"AMDUINtTW7OuJn9WMTzR72TjWeVnNQcAw40nsjrxK1YI","address":"0xc8f7d4b191c187dcea6c4da2483c13be47482882a6d8607ca25230bf496b125d","secretKey":"suiprivkey1qqlmzm53hef2c2d5wauc228vz974623tulhhvmmx96vvl0qery2wgqezqh0","nonce":"oB1wuhLxd2eIvwJqEep7WeblUwk","randomness":"326185212480531601132096580684410402611","epoch":636,"ephemeralKeyPair":{"keypair":{"publicKey":{"0":192,"1":212,"2":32,"3":219,"4":83,"5":91,"6":179,"7":174,"8":38,"9":127,"10":86,"11":49,"12":60,"13":209,"14":239,"15":100,"16":227,"17":89,"18":229,"19":103,"20":53,"21":7,"22":0,"23":195,"24":141,"25":39,"26":178,"27":58,"28":241,"29":43,"30":86,"31":8},"secretKey":{"0":63,"1":177,"2":110,"3":145,"4":190,"5":82,"6":172,"7":41,"8":180,"9":119,"10":121,"11":133,"12":40,"13":236,"14":17,"15":125,"16":93,"17":42,"18":43,"19":231,"20":239,"21":118,"22":111,"23":102,"24":46,"25":152,"26":207,"27":188,"28":25,"29":25,"30":20,"31":228,"32":192,"33":212,"34":32,"35":219,"36":83,"37":91,"38":179,"39":174,"40":38,"41":127,"42":86,"43":49,"44":60,"45":209,"46":239,"47":100,"48":227,"49":89,"50":229,"51":103,"52":53,"53":7,"54":0,"55":195,"56":141,"57":39,"58":178,"59":58,"60":241,"61":43,"62":86,"63":8}}}}
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.ambrus.studio/v2-testing/account/login/zklogin/params' \
--header 'Content-Type: application/json' \
--data-raw '{
    "nonce": "oB1wuhLxd2eIvwJqEep7WeblUwk",
    "params":{"originPublicKey":{"data":{"0":192,"1":212,"2":32,"3":219,"4":83,"5":91,"6":179,"7":174,"8":38,"9":127,"10":86,"11":49,"12":60,"13":209,"14":239,"15":100,"16":227,"17":89,"18":229,"19":103,"20":53,"21":7,"22":0,"23":195,"24":141,"25":39,"26":178,"27":58,"28":241,"29":43,"30":86,"31":8}},"publicKey":"AMDUINtTW7OuJn9WMTzR72TjWeVnNQcAw40nsjrxK1YI","address":"0xc8f7d4b191c187dcea6c4da2483c13be47482882a6d8607ca25230bf496b125d","secretKey":"suiprivkey1qqlmzm53hef2c2d5wauc228vz974623tulhhvmmx96vvl0qery2wgqezqh0","nonce":"oB1wuhLxd2eIvwJqEep7WeblUwk","randomness":"326185212480531601132096580684410402611","epoch":636,"ephemeralKeyPair":{"keypair":{"publicKey":{"0":192,"1":212,"2":32,"3":219,"4":83,"5":91,"6":179,"7":174,"8":38,"9":127,"10":86,"11":49,"12":60,"13":209,"14":239,"15":100,"16":227,"17":89,"18":229,"19":103,"20":53,"21":7,"22":0,"23":195,"24":141,"25":39,"26":178,"27":58,"28":241,"29":43,"30":86,"31":8},"secretKey":{"0":63,"1":177,"2":110,"3":145,"4":190,"5":82,"6":172,"7":41,"8":180,"9":119,"10":121,"11":133,"12":40,"13":236,"14":17,"15":125,"16":93,"17":42,"18":43,"19":231,"20":239,"21":118,"22":111,"23":102,"24":46,"25":152,"26":207,"27":188,"28":25,"29":25,"30":20,"31":228,"32":192,"33":212,"34":32,"35":219,"36":83,"37":91,"38":179,"39":174,"40":38,"41":127,"42":86,"43":49,"44":60,"45":209,"46":239,"47":100,"48":227,"49":89,"50":229,"51":103,"52":53,"53":7,"54":0,"55":195,"56":141,"57":39,"58":178,"59":58,"60":241,"61":43,"62":86,"63":8}}}}
}'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2025-03-05 06:36:03
Previous
merchant_login
Next
querybysocialid
Built with