/// <inheritdoc /> public async Task <PaymentAddressRecord> CreatePaymentAddressAsync(IAgentContext agentContext, AddressOptions configuration = null) { var address = await IndyPayments.CreatePaymentAddressAsync(agentContext.Wallet, TokenConfiguration.MethodName, new { seed = configuration?.Seed }.ToJson()); var addressRecord = new PaymentAddressRecord { Id = Guid.NewGuid().ToString("N"), Method = TokenConfiguration.MethodName, Address = address, SourcesSyncedAt = DateTime.MinValue }; await recordService.AddAsync(agentContext.Wallet, addressRecord); return(addressRecord); }