Skip to content

Commit 178c120

Browse files
authored
Merge pull request #28 from Safeheron/dev
Add riskType, entity, hopNum, and exposureType fields to RiskDetail in AML Risk Assessment Result
2 parents f7e6437 + de5434f commit 178c120

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

safeheron/api/tools_api.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ type MistTrack struct {
4444
}
4545

4646
type RiskDetail struct {
47-
Type string `json:"type"`
48-
Label string `json:"label"`
49-
Address string `json:"address"`
50-
Volume string `json:"volume"`
51-
Percent string `json:"percent"`
47+
RiskType string `json:"riskType"`
48+
Entity string `json:"entity"`
49+
HopNum string `json:"hopNum"`
50+
ExposureType string `json:"exposureType"`
51+
Volume string `json:"volume"`
52+
Percent string `json:"percent"`
5253
}
5354

5455
func (e *ToolsApi) AmlCheckerRetrieves(d AmlCheckerRetrievesRequest, r *AmlCheckerRetrievesResponse) error {

0 commit comments

Comments
 (0)