Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions api-spec/openapi/swagger/arkwallet/v1/bitcoin_wallet.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,46 @@
}
}
},
"/v1/wallet/unwatch-all-scripts": {
"post": {
"tags": [
"WalletService"
],
"operationId": "WalletService_UnwatchAllScripts",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnwatchAllScriptsRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "a successful response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnwatchAllScriptsResponse"
}
}
}
},
"default": {
"description": "An unexpected error response.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Status"
}
}
}
}
}
}
},
"/v1/wallet/unwatch-scripts": {
"post": {
"tags": [
Expand Down Expand Up @@ -1861,6 +1901,14 @@
"title": "UnlockResponse",
"type": "object"
},
"UnwatchAllScriptsRequest": {
"title": "UnwatchAllScriptsRequest",
"type": "object"
},
"UnwatchAllScriptsResponse": {
"title": "UnwatchAllScriptsResponse",
"type": "object"
},
"UnwatchScriptsRequest": {
"title": "UnwatchScriptsRequest",
"type": "object",
Expand Down
9 changes: 9 additions & 0 deletions api-spec/protobuf/arkwallet/v1/bitcoin_wallet.proto
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@ service WalletService {
body: "*"
};
}
rpc UnwatchAllScripts(UnwatchAllScriptsRequest) returns (UnwatchAllScriptsResponse) {
option (meshapi.gateway.http) = {
post: "/v1/wallet/unwatch-all-scripts"
body: "*"
};
}
rpc NotificationStream(NotificationStreamRequest) returns (stream NotificationStreamResponse) {
option (meshapi.gateway.http) = {
get: "/v1/wallet/notifications"
Expand Down Expand Up @@ -378,6 +384,9 @@ message UnwatchScriptsRequest {
}
message UnwatchScriptsResponse {}

message UnwatchAllScriptsRequest {}
message UnwatchAllScriptsResponse {}

message GetTransactionRequest {
string txid = 1;
}
Expand Down
6 changes: 3 additions & 3 deletions api-spec/protobuf/gen/ark/v1/indexer.pb.rgw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading