waves.node.grpc.assets_api.proto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protobuf-schemas Show documentation
Show all versions of protobuf-schemas Show documentation
Waves Node protobuf java classes
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;
}