parent
44709cf6fe
commit
f39b51deee
2 changed files with 15 additions and 8 deletions
|
@ -72,6 +72,7 @@ var syscalls = map[string]map[string]string{
|
||||||
"GetReferences": "Neo.Transaction.GetReferences",
|
"GetReferences": "Neo.Transaction.GetReferences",
|
||||||
"GetScript": "Neo.InvocationTransaction.GetScript",
|
"GetScript": "Neo.InvocationTransaction.GetScript",
|
||||||
"GetType": "Neo.Transaction.GetType",
|
"GetType": "Neo.Transaction.GetType",
|
||||||
|
"GetUnspentCoins": "Neo.Transaction.GetUnspentCoins",
|
||||||
"GetWitnesses": "Neo.Transaction.GetWitnesses",
|
"GetWitnesses": "Neo.Transaction.GetWitnesses",
|
||||||
},
|
},
|
||||||
"asset": {
|
"asset": {
|
||||||
|
|
|
@ -53,6 +53,12 @@ func GetReferences(t Transaction) []interface{} {
|
||||||
return []interface{}{}
|
return []interface{}{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetUnspentCoins returns a slice of not yet spent ouputs of a given transaction.
|
||||||
|
// This function uses `Neo.Transaction.GetUnspentCoint` syscall.
|
||||||
|
func GetUnspentCoins(t Transaction) []output.Output {
|
||||||
|
return []output.Output{}
|
||||||
|
}
|
||||||
|
|
||||||
// GetInputs returns a slice of inputs of a given Transaction. Refer to input
|
// GetInputs returns a slice of inputs of a given Transaction. Refer to input
|
||||||
// package on how to use them. This function uses `Neo.Transaction.GetInputs`
|
// package on how to use them. This function uses `Neo.Transaction.GetInputs`
|
||||||
// syscall.
|
// syscall.
|
||||||
|
|
Loading…
Reference in a new issue