Skip to main content

Wallet Autosigner Integration

You can communicate with the MetX Autosigner via REST API. Be sure to check out how to acquire auth for android or for webgl.

Documentation and sample code for the Wallet Autosigner can be found on Postman here

  • For Example:

    UnityWebRequest request = new UnityWebRequest.Get($"{baseUrl}/v1/users/{auth}";
    request.SetRequestHeader("Authorization", "Bearer " + bearer);
    yield return request.SendWebRequest();

    UnityWebRequest request = new UnityWebRequest.Post($"{baseUrl}/api/v1/transactions/distribute?TokenId={token_name}&Amount={amount}&Auth={auth}");
    request.SetRequestHeader("Authorization", "Bearer " + bearer);
    yield return request.SendWebRequest();
  • For more info, refer UnityWebRequest documentation