The release notes for our Go SDK. Refer to the package releases for additional details.Documentation Index
Fetch the complete documentation index at: https://docs.privy.io/llms.txt
Use this file to discover all available pages before exploring further.
0.7.0
Added
- Add
Verify()on the webhook service for Svix signature verification and typed deserialization into aWebhookPayloaddiscriminated union. - Add
WithRequestOptions(...option.RequestOption)helper to forward per-call request options (e.g.option.WithHTTPClient,option.WithRequestTimeout) through wrapper methods to the generated client. - Add a default
*http.Clientwith a request timeout when no custom client is configured. - Add
DisableRequestExpiryoption to opt out of automatically sending theprivy-request-expiryheader. - Add
PrivyRequestExpiryOptionswithDefaultMs,DefaultIntentMs, andDisabledfields onPrivyClientOptions.RequestExpiry. Intents endpoints (Rpc,Transfer,UpdateWallet,NewPolicyRule,DeletePolicyRule,UpdatePolicy,UpdatePolicyRule,UpdateKeyQuorum) now default to a 72-hour expiry. - Add a large set of typed webhook payload types for user, intent, wallet-action, transaction, earn, MFA, funds, and yield events.
- API updates.
Deprecated
- Top-level
PrivyClientOptions.DefaultRequestExpiryMsin favor ofRequestExpiry.DefaultMs. - Top-level
PrivyClientOptions.DisableRequestExpiryin favor ofRequestExpiry.Disabled.
Breaking changes
TokenTransferSourceis now aTokenTransferSourceUniondiscriminated union.Transfercalls must construct the source viaOfNamedTokenTransferSource(e.g. USDC) orOfCustomTokenTransferSource(with an explicitasset_address).- Ethereum transaction fields and responses that previously returned
UnsignedStandardEthereumTransactionnow returnUnsignedEthereumTransactionUnion. Code that type-asserted the concrete type must handle the union. - Default HTTP timeout. Clients that did not configure a custom
HTTPClientnow get one with a default request timeout. Override viaoption.WithRequestTimeoutor a customHTTPClientif long-running calls require more time.
0.6.0
Added
- Allow configuring a default
*http.ClientviaPrivyClientOptions. - API updates.
Breaking changes
- Response structs are now globally suffixed instead of request structs. Type names throughout the SDK have been updated accordingly (e.g.,
EthereumSendTransactionRpcInputParamis nowEthereumSendTransactionRpcInput).
0.5.0
0.4.0
Added
- Support for
privy-request-expiryheader on wallet, policy, and key quorum methods. A default expiry of 15 minutes is applied automatically and can be customized viaPrivyClientOptions.DefaultRequestExpiryMsor per-request withWithRequestExpiry. - New
Appsservice for app configuration and allowlist management. - New
Webhooks,Analytics, andAggregationsservices. - New
Intentsservice for intent-based approval workflows. - Spark chain support via
WalletChainTypeSpark. - API updates.
Breaking changes
RpcOptionis now an interface type (RequestOption) instead of a function type.RpcOptionis kept as a type alias. Code using the provided helpers (WithAuthorizationContext,WithIdempotencyKey) is unaffected, but customRpcOptionfunction literals will no longer compile.WalletRpcParamsbody fields are now nested inside aWalletRpcRequestBodyfield of typeWalletRpcRequestBodyUnionParam.WalletRawSignParamsbody fields are now nested inside aRawSignInputfield. The inner union type is renamed fromWalletRawSignParamsParamsUniontoRawSignInputParamsUnion, with variants renamed fromWalletRawSignParamsParamsHash/WalletRawSignParamsParamsBytestoRawSignHashParams/RawSignBytesParams.WalletUpdateParamsbody fields are now nested inside aWalletUpdateRequestBodyfield.KeyQuorumNewParamsbody fields are now nested inside aKeyQuorumCreateRequestBodyfield.KeyQuorumUpdateParamsbody fields are now nested inside aKeyQuorumUpdateRequestBodyfield.WalletRawSignResponserenamed toRawSignResponse.PolicyDeleteResponse,PolicyDeleteRuleResponse, andKeyQuorumDeleteResponseconsolidated intoSuccessResponse.- RPC input types gained a
Paramsuffix (e.g.EthereumPersonalSignRpcInputis nowEthereumPersonalSignRpcInputParam). WalletExportParamsEncryptionTyperenamed toHpkeEncryption(constantWalletExportParamsEncryptionTypeHpkeis nowHpkeEncryptionHpke).PolicyNewParamsChainTypereplaced byWalletChainType(e.g.PolicyNewParamsChainTypeEthereumis nowWalletChainTypeEthereum).
0.3.0
Added
- Added wallet import utility via
Wallets.Importwith HPKE support. - Added
GenerateAuthorizationSignaturesForRequestfor creating authorization signatures for requests.
0.1.1
0.1.0
Initial release of the Go SDK. See the quickstart guide for more
details on how to get started.

