Minimal ASP.NET / C# helper for:
POST /api/v1/partner/orders/{order_id}/authorize-crypto-transfer
This SDK is intentionally simple:
- one file
- one public class
- one public method:
AuthorizeCryptoTransferAsync
Add these packages to your ASP.NET project:
dotnet add package Nethereum.Signer
dotnet add package Nethereum.ABIPartnerAuthorizeCryptoTransferSdk.cs
using System.Net.Http;
using Unigox.PartnerSdk;
var httpClient = new HttpClient();
var sdk = new PartnerAuthorizeCryptoTransferSdk(httpClient, "https://api-staging.unigox.com");
var result = await sdk.AuthorizeCryptoTransferAsync(
apiKey: "your_api_key",
orderId: "your_order_id",
privateKey: "your_private_key",
cancellationToken: cancellationToken
);- The private key never leaves your server.
- The SDK fetches transfer authorization parameters from the API, signs the EIP-712 payload locally, and submits the signed request.