All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.lightspark.sdk.wallet.model.NodeAddress.kt Maven / Gradle / Ivy

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