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

waves.node.grpc.assets_api.proto Maven / Gradle / Ivy

There is a newer version: 1.5.2
Show newest version
syntax = "proto3";
package waves.node.grpc;
option java_package = "com.wavesplatform.api.grpc";
option csharp_namespace = "Waves.Node.Grpc";
option go_package = "github.com/wavesplatform/gowaves/pkg/grpc/generated/waves/node/grpc";

import "waves/transaction.proto";
import "waves/node/grpc/accounts_api.proto";

service AssetsApi {
    rpc GetInfo (AssetRequest) returns (AssetInfoResponse);
    rpc GetNFTList (NFTRequest) returns (stream NFTResponse);
}

message AssetRequest {
    bytes asset_id = 1;
}

message NFTRequest {
    bytes address = 1;
    int32 limit = 2;
    bytes after_asset_id = 3;
}

message NFTResponse {
    bytes asset_id = 1;
    AssetInfoResponse asset_info = 2;
}

message AssetInfoResponse {
    bytes issuer = 1;
    string name = 2;
    string description = 3;
    int32 decimals = 4;
    bool reissuable = 5;
    int64 total_volume = 6;
    ScriptData script = 7;
    int64 sponsorship = 8;
    SignedTransaction issue_transaction = 11;
    int64 sponsor_balance = 10;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy