commonMain.com.lightspark.sdk.wallet.model.NodeAddress.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wallet-sdk Show documentation
Show all versions of wallet-sdk Show documentation
The Lightspark Wallet SDK for Kotlin and Java.
The newest version!
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
@file:Suppress("ktlint:standard:max-line-length")
package com.lightspark.sdk.wallet.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* This object represents the address of a node on the Lightning Network.
* @param address The string representation of the address.
*/
@Serializable
@SerialName("NodeAddress")
data class NodeAddress(
@SerialName("node_address_address")
val address: String,
) {
companion object {
const val FRAGMENT = """
fragment NodeAddressFragment on NodeAddress {
type: __typename
node_address_address: address
node_address_type: type
}"""
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy