Skip to main content

Go Integration

This guide shows how to integrate TxnCheck API into your Go application.

Installation

No external dependencies required. Uses standard library net/http. For structured JSON handling:

Basic Client Setup

Usage Examples

Async Mode (Default)

Sync Mode

Full Check

VPA Blocklist Check

Error Handling

Webhook Signature Verification

Complete Integration Example

Next Steps

Webhooks Guide

Set up webhooks for async notifications

Error Handling

Handle API errors properly

Security Best Practices

Secure your integration

Use Cases

See real-world examples