contract
{
readonly hash?: string;
readonly group?: string;
}
An object indicating the contract to be invoked. It can be the hash of a single contract or the public key of a contract group.
If it specifies the hash of a contract then the contract can be invoked.
If it specifies the public key of a group, then any contract in this group can be invoked
If this object has hash and group as undefined then this will be considered a wildcard ("*") and any contract can be invoked.
methods
string | readonly string[]
An array of methods that are allowed to be called. An empty array means that no methods will be allowed to be called. This can also be a wildcard string: "*", which means that any method can be called.