gmt-server-partner-openapi-review-fix-cache-pny351.gmt.yuca.digital Open in urlscan Pro
142.132.246.177  Public Scan

URL: https://gmt-server-partner-openapi-review-fix-cache-pny351.gmt.yuca.digital/
Submission: On June 18 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

 * Authentication
   * postCreate / update an account

API docs by Redocly





GOMINING API (2.0.0)

Download OpenAPI specification:Download






AUTHENTICATION


CREATE / UPDATE AN ACCOUNT

In order to get the access to daily BTC rewards and activate NFTs bought at
third-party marketplaces our partners have an access to create an account for
the user remotely.

AUTHORIZATIONS:

partnerAuth

HEADER PARAMETERS

x-crypto-type
required
string

[object Object]

x-partner-api-key
string

[object Object]

x-crypto-sign
string

[object Object]

x-app-id
required
string

[object Object]

REQUEST BODY SCHEMA: APPLICATION/JSON
REQUIRED



address
required
string

btcAddress
string

timestamp
required
number

ip
required
string

tonWallet
object


device
required
object


platform
required
"iphone" (string) or "ipad" (string) or "android" (string) or "windows" (string)
or "mac" (string) or "linux" (string) or "browser" (string) or any

appName
required
string

appVersion
required
string

maxProtocolVersion
required
number

features
required
Array of "SendTransaction" (string) or objects or objects


provider
required
"http" (string) or "injected" (string)

Any of
"http""injected"

string ("http")

account
required
object


address
required
string

chain
required
"-3" (string) or "-239" (string)

walletStateInit
required
string

publicKey
string


connectItems
required
object


tonProof
required
object or object



RESPONSES

200

Successful response

500

Error response

post/api/partner/auth/crypto
https://account.test.gmt.yuca.digital/api/partner/auth/crypto


REQUEST SAMPLES

 * Payload

Content type
application/json
Copy
Expand all Collapse all
{
 * "address": "string",
 * "btcAddress": "string",
 * "timestamp": 0,
 * "ip": "string",
 * "tonWallet": {
    * "device": {
       * "platform": "iphone",
       * "appName": "string",
       * "appVersion": "string",
       * "maxProtocolVersion": 0,
       * "features": [
          * "SendTransaction"
         
         ]
      
      },
    * "provider": "http",
    * "account": {
       * "address": "string",
       * "chain": "-3",
       * "walletStateInit": "string",
       * "publicKey": "string"
      
      },
    * "connectItems": {
       * "tonProof": {
          * "name": "ton_proof",
          * "proof": {
             * "timestamp": 0,
             * "domain": {
                * "lengthBytes": 0,
                * "value": "string"
               
               },
             * "payload": "string",
             * "signature": "string"
            
            }
         
         }
      
      }
   
   }

}


RESPONSE SAMPLES

 * 200
 * 500

Content type
application/json
Copy
{
 * "data": true

}